/* Nav Yug coming soon page. Values come from the Nav Yug design system tokens. */
:root {
  --cyan: #4D92AC; --magenta: #A72A72; --yellow: #E1CB4E; --key: #1A1919;
  --paper: #FFFFFF; --paper-warm: #FAF8F3; --surface-raised: #FFFFFF; --surface-sunken: #F2EFE7;
  --line: #E3DED2; --line-strong: #8A8782;
  --ink: #1A1919; --ink-muted: #5E5F5E;
  --cyan-ink: #2F6F87; --magenta-ink: #8E2361;
  --action: #A72A72; --action-hover: #8E2361; --on-action: #FFFFFF; --focus-ring: #2F6F87;
  --danger: #B42318; --success: #2F6F87;
  --font-sans: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-leaf: 30%;
  --shadow-card: 0 1px 2px rgba(26,25,25,0.06), 0 6px 16px rgba(26,25,25,0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper-warm); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; }
a { color: var(--cyan-ink); font-weight: 600; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }

.page { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.sun { position: absolute; top: -48px; right: -48px; width: 200px; height: 200px; background: var(--yellow); border-radius: 0 var(--radius-leaf) 0 var(--radius-leaf); }

.wrap { position: relative; flex: 1 1 auto; width: 100%; max-width: 1120px; margin: 0 auto; padding: 40px 32px 48px; display: flex; flex-direction: column; gap: 64px; }
.logo { display: block; height: 40px; width: auto; }

.main { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.intro { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.display { margin: 0; font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -0.03em; }
.lead { margin: 0; max-width: 32rem; font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); margin: 0; }
.small { font-size: 14px; line-height: 20px; }

.products { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.products li { display: flex; align-items: center; gap: 12px; }
.leaf { width: 14px; height: 14px; flex: none; border-radius: 0 var(--radius-leaf) 0 var(--radius-leaf); }
.leaf--flip { border-radius: var(--radius-leaf) 0 var(--radius-leaf) 0; }
.leaf--magenta { background: var(--magenta); }
.leaf--cyan { background: var(--cyan); }
.leaf--yellow { background: var(--yellow); }
.leaf--key { background: var(--key); }

.card { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }
.card__head { display: flex; flex-direction: column; gap: 4px; }
.card h2 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; }

/* Text field (matches the design system's TextField) */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font: 600 14px/20px var(--font-sans); color: var(--ink); }
.field__control { font: 400 16px/24px var(--font-sans); color: var(--ink); background: var(--surface-raised); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px; width: 100%; }
textarea.field__control { min-height: 112px; resize: vertical; }
.field__control:hover { border-color: var(--ink-muted); }
.field__control:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--focus-ring); }
.field__hint { margin: 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.field--error .field__control { border-color: var(--danger); }
.field--error .field__hint { color: var(--danger); font-weight: 500; }

/* Button (matches the design system's Button) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/20px var(--font-sans); cursor: pointer; border: 2px solid transparent; border-radius: var(--radius-md); padding: 12px 24px; min-height: 48px; transition: background-color .15s ease; }
.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { background: var(--action-hover); }
.btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.status { margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; }
.status:empty { display: none; }
.status--success { color: var(--success); }
.status--error { color: var(--danger); }

.footer { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

@media (max-width: 640px) {
  .wrap { padding: 32px 16px; gap: 48px; }
  .display { font-size: 40px; line-height: 44px; }
  .card { padding: 24px; }
  .sun { width: 140px; height: 140px; top: -40px; right: -40px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
