/* ============================================================
   Younique Assistant — site styles
   Refined clinical / editorial aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink:        #15211F;
  --ink-soft:   #3a4a47;
  --paper:      #F5F1E8;
  --paper-2:    #FBF8F1;
  --accent:     #1C6E63;
  --accent-deep:#124b43;
  --accent-soft:#d7e6e2;
  --line:       rgba(21, 33, 31, 0.14);
  --line-soft:  rgba(21, 33, 31, 0.07);
  --shadow:     0 24px 60px -28px rgba(18, 75, 67, 0.35);

  --display: 'Fraunces', Georgia, serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(21,33,31,0.05) 1px, transparent 0);
  background-size: 4px 4px;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

a { color: inherit; }

/* ---------------- Header ---------------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245, 241, 232, 0.82);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 15px; font-weight: 600;
  font-family: var(--display);
}
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  font-size: 12.5px; font-weight: 600;
}
.lang-toggle button {
  background: none; border: none; cursor: pointer;
  padding: 6px 12px; color: var(--ink-soft);
  font-family: var(--body); font-weight: 600; font-size: 12.5px;
  transition: all .2s;
}
.lang-toggle button.active { background: var(--accent); color: #fff; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* App store pill */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper-2);
  border-radius: 14px; padding: 11px 20px; text-decoration: none;
  transition: transform .15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-small { font-size: 10.5px; opacity: .8; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.store-badge .sb-big { font-size: 17px; font-weight: 600; line-height: 1.15; font-family: var(--display); }

/* ---------------- Hero ---------------- */
.hero { padding: 96px 0 90px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); display: inline-block; }

h1.hero-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 6vw, 68px); line-height: 1.02;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 24px;
}
h1.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 19px; color: var(--ink-soft); max-width: 30em; margin-bottom: 34px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }

/* device mock */
.device {
  position: relative; justify-self: center;
  width: 270px; aspect-ratio: 9/19;
  background: linear-gradient(160deg, #1d2b28, #0e1716);
  border-radius: 38px; padding: 11px;
  box-shadow: 0 40px 90px -30px rgba(18,75,67,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.device-screen {
  width: 100%; height: 100%; border-radius: 28px; overflow: hidden;
  background: var(--paper-2);
  display: flex; flex-direction: column;
}
.ds-bar { height: 54px; background: var(--accent); display: flex; align-items: flex-end; padding: 0 16px 10px; }
.ds-bar span { color: #fff; font-family: var(--display); font-weight: 600; font-size: 15px; }
.ds-body { padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.ds-line { height: 9px; border-radius: 5px; background: var(--accent-soft); }
.ds-line.w70 { width: 70%; } .ds-line.w90 { width: 90%; } .ds-line.w50 { width: 50%; }
.ds-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 8px 18px -12px rgba(18,75,67,.3); }
.ds-mic { margin: 6px auto 0; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--accent-soft); }
.ds-mic svg { width: 20px; height: 20px; }

/* ---------------- Sections ---------------- */
section { padding: 80px 0; position: relative; }
.section-head { max-width: 38em; margin-bottom: 54px; }
.section-head .eyebrow { margin-bottom: 18px; }
h2.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.08;
  letter-spacing: -0.015em;
}
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }

.rule { height: 1px; background: var(--line); border: 0; }

/* feature index */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature {
  padding: 34px 32px 34px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 22px; align-items: flex-start;
}
.feature:nth-child(odd) { padding-right: 44px; border-right: 1px solid var(--line); padding-left: 0; }
.feature:nth-child(even) { padding-left: 44px; }
.feature .num {
  font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--accent);
  border: 1.5px solid var(--accent-soft); border-radius: 50%;
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
}
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 22px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--ink-soft); font-size: 15.5px; }

/* privacy highlight band */
.band {
  background: var(--ink); color: var(--paper-2); border-radius: 28px;
  padding: 60px 56px; position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(28,110,99,.5), transparent 70%);
}
.band .eyebrow { color: var(--accent-soft); }
.band .eyebrow::before { background: var(--accent-soft); }
.band h2 { font-family: var(--display); font-weight: 500; font-size: clamp(28px,3.5vw,40px); line-height: 1.1; letter-spacing: -0.015em; max-width: 18em; margin-bottom: 18px; }
.band p { color: rgba(251,248,241,.78); max-width: 40em; font-size: 17px; position: relative; }
.band .pillrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; position: relative; }
.band .pill { border: 1px solid rgba(251,248,241,.25); border-radius: 100px; padding: 8px 16px; font-size: 13.5px; font-weight: 500; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step .num { font-family: var(--display); font-size: 40px; color: var(--accent); font-weight: 500; line-height: 1; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 14px 0 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* CTA */
.cta { text-align: center; padding: 96px 0; }
.cta h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px,4.5vw,52px); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 22px; }
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p { color: var(--ink-soft); font-size: 18px; max-width: 32em; margin: 0 auto 34px; }
.cta .hero-cta { justify-content: center; }

/* ---------------- Article (privacy / support) ---------------- */
.page-hero { padding: 76px 0 34px; }
.page-hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(34px,5vw,54px); letter-spacing: -0.02em; line-height: 1.05; }
.page-hero p { color: var(--ink-soft); margin-top: 14px; font-size: 17px; }
.article { max-width: 760px; margin: 0 auto; padding-bottom: 90px; }
.article h2 { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.01em; margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.article h2:first-of-type { border-top: 0; padding-top: 0; }
.article h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 26px 0 8px; }
.article p { color: var(--ink-soft); margin-bottom: 14px; }
.article ul { color: var(--ink-soft); margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); font-weight: 600; }
.article a { color: var(--accent); }
.note-box {
  background: var(--paper-2); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 12px;
  padding: 18px 22px; margin: 20px 0; font-size: 15px; color: var(--ink-soft);
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 20px 0;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px;
  font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--accent); font-size: 24px; transition: transform .25s; line-height: 1; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin-top: 12px; font-size: 15.5px; }

.contact-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  margin: 6px auto 40px; max-width: 760px;
}
.contact-card .cc {
  background: var(--paper-2); padding: 28px 26px;
}
.contact-card .cc .lbl { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.contact-card .cc a, .contact-card .cc span { font-family: var(--display); font-size: 19px; font-weight: 500; text-decoration: none; color: var(--ink); }
.contact-card .cc small { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 4px; }

/* ---------------- Footer ---------------- */
footer.site { border-top: 1px solid var(--line); padding: 54px 0 40px; margin-top: 20px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 26em; }
.foot-brand p { color: var(--ink-soft); font-size: 14.5px; margin-top: 14px; }
.foot-links { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 14px; }
.foot-col a { display: block; text-decoration: none; color: var(--ink); font-size: 15px; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); }

/* ---------------- Animations ---------------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; } }

/* lang display */
[data-lang-hide] { display: none !important; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .device { order: -1; width: 230px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(odd), .feature:nth-child(even) {
    padding: 28px 0; border-right: 0; padding-left: 0;
  }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .band { padding: 44px 28px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 28px; gap: 16px;
  }
}
