@import url("satoshi.css");

/* ========================================
   MODERN CSS RESET 2024
   Based on: Modern CSS Reset + Andy Bell + Josh Comeau
   ======================================== */

/* Universal box sizing */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Remove default margin and padding */
* {
	margin: 0;
	padding: 0;
}

/* Prevent font size adjustment in landscape orientation on iOS */
html {
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/* Base document configuration */
html:focus-within {
	scroll-behavior: smooth;
}

/* Full height for body */
body {
	min-height: 100dvh;
	line-height: 1.5;
	text-rendering: optimizeSpeed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Text elements inherit font from parent */
input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

/* Remove default list styles on lists without class */
ul:where([class]),
ol:where([class]) {
	list-style: none;
}

/* Remove list styles where role="list" is used */
ul[role="list"],
ol[role="list"] {
	list-style: none;
}

/* Configuration for media elements */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Form elements inherit font */
input,
button,
textarea,
select {
	font: inherit;
}

/* Remove border and background from buttons */
button {
	border: none;
	background: none;
	cursor: pointer;
}

/* Remove link decoration */
a {
	text-decoration: none;
	color: inherit;
}

/* Prevent text overflow */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Prevent horizontal overflow */
body {
	overflow-x: hidden;
}

/* Table configuration */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Fieldset configuration */
fieldset {
	border: none;
}

/* Improve touch interaction */
@media (hover: none) and (pointer: coarse) {
	button,
	a,
	[role="button"] {
		min-height: 44px;
		min-width: 44px;
	}
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
		scroll-behavior: auto;
	}

	html:focus-within {
		scroll-behavior: auto;
	}
}

/* Improve visible focus (accessibility) */
:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Remove outline for mouse but keep it for keyboard */
:focus:not(:focus-visible) {
	outline: none;
}

:root {
	/* ===== Brand identity (edit these first) ===== */

	/* Typography */
	--brand-font-sans:
		"Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;

	/* Neutral palette (from your original greys) [file:4] */
	--brand-color-bg: hsla(0, 0%, 99%, 1); /* #fcfcfc */
	--brand-color-surface: hsla(0, 0%, 100%, 1); /* #ffffff */
	--brand-color-surface-alt: hsla(0, 0%, 95%, 1); /* ~#f3f3f3 */

	--brand-color-text-main: hsla(0, 0%, 14%, 1); /* ~#252525 */
	--brand-color-text-muted: hsla(0, 0%, 50%, 1); /* ~#808080 */
	--brand-color-text-soft: hsla(0, 0%, 70%, 1); /* ~#b3b3b3 */

	/* Accent family – pick one and tweak later [file:4] */
	/* Example: warm ochre #B8956A ≈ hsla(32, 33%, 57%, 1) */
	--brand-color-accent: hsla(32, 33%, 57%, 1);
	--brand-color-accent-soft: hsla(32, 33%, 85%, 1);

	/* Shape */
	--brand-radius-card: 0.75rem; /* 12px */
	--brand-radius-chip: 999px; /* pill shape if needed */

	/* ===== Type scale (fluid where it matters) ===== */

	--font-size-display: clamp(2.5rem, 6vw, 3.5rem);
	--font-size-title: clamp(2rem, 4vw, 2.6rem);
	--font-size-sub: clamp(1.4rem, 3vw, 1.8rem);

	--font-size-body: 1rem; /* 16px base */
	--font-size-small: 0.875rem; /* 14px */

	/* ===== Spacing scale (relative) ===== */

	--space-2xs: 0.25rem; /* 4px  */
	--space-xs: 0.5rem; /* 8px  */
	--space-s: 0.75rem; /* 12px */
	--space-m: 1rem; /* 16px */
	--space-l: 1.5rem; /* 24px */
	--space-xl: 2.5rem; /* 40px */
	--space-2xl: 4rem; /* 64px */
}

html {
	font-size: 100%; /* keeps accessibility sane */
}

body {
	margin: 0;
	min-block-size: 100vh;
	font-family: var(--brand-font-sans);
	font-size: var(--font-size-body);
	line-height: 1.5;
	color: var(--brand-color-text-main);
	background-color: var(--brand-color-bg);
}

/* Optional global link style */

a {
	color: var(--brand-color-accent);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

/* ===== Layout ===== */

.site__main {
	min-block-size: 100vh;
}

.coming-soon {
	min-block-size: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: var(--space-xl);
	padding-inline: min(8vw, var(--space-xl));
}

.coming-soon__card {
	inline-size: 100%;
	max-inline-size: 32rem;
	background-color: var(--brand-color-surface);
	border-radius: var(--brand-radius-card);
	padding-block: var(--space-xl);
	padding-inline: var(--space-xl);
}

/* ===== Typography inside the block ===== */

.coming-soon__header {
	margin-block-end: var(--space-m);
}

.coming-soon__eyebrow {
	margin: 0;
	font-size: var(--font-size-small);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand-color-text-soft);
}

.coming-soon__title {
	margin: 0;
	margin-block-start: var(--space-xs);
	font-size: var(--font-size-display);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--brand-color-text-main);
	hyphens: none;
	word-break: keep-all;
	overflow-wrap: normal;
}

.coming-soon__text {
	margin: 0;
	margin-block-end: var(--space-l);
	font-size: var(--font-size-body);
	line-height: 1.6;
	color: var(--brand-color-text-muted);
}

.coming-soon__footer {
	margin: 0;
}

.coming-soon__note {
	display: hidden;
	margin: 0;
	font-size: var(--font-size-small);
	line-height: 1.5;
	color: var(--brand-color-text-soft);
}

.coming-soon__link--email {
	font-weight: 500;
}

/* ===== Small responsiveness touch ===== */

@media (min-width: 48rem) {
	.coming-soon__card {
		padding-block: var(--space-2xl);
		padding-inline: var(--space-2xl);
	}
}
