/* Hushnic site — from the Claude Design handoff (Hushnic Site.dc.html).
   Warm off-white canvas, Nunito for rounded display type, and the app's
   own rule: orange belongs to craving moments alone. */

:root {
  --canvas: #F5F3EF;
  --surface: #FFFFFF;
  --ink: #111111;
  --body: #5c5952;
  --muted: #8A8781;
  --inset: #f0ede7;
  --hairline: rgba(0, 0, 0, .08);
  --orange: #F97316;
  --orange-light: #FB923C;
  --orange-deep: #EA580C;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, .05);
  --pill-shadow: 0 1px 4px rgba(0, 0, 0, .05);
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Nunito carries every rounded display element, matching the app's
   SF Pro Rounded numerals and titles. */
.rnd { font-family: "Nunito", -apple-system, system-ui, sans-serif; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--orange); }
::selection { background: var(--orange); color: #fff; }

/* Language switching: JS flips data-lang on the root wrapper. */
[data-lang="en"] [data-tr] { display: none; }
[data-lang="tr"] [data-en] { display: none; }

/* Header ------------------------------------------------------------ */

.site-head {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }

/* TR temporarily hidden — English-only front end. TR content stays in the
   HTML (still maintained); to re-enable, change this back to `display: flex`
   and restore the forced "en" in lang.js. */
.lang-toggle {
  display: none;
  background: var(--surface);
  border-radius: 999px;
  padding: 3px;
  box-shadow: var(--pill-shadow);
}

.lang-toggle button {
  border: none;
  cursor: pointer;
  font-family: "Nunito", -apple-system, system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}

.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Hero -------------------------------------------------------------- */

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 28px 20px;
  display: grid;
  /* Fixed shot column: the design's 1.05fr/.95fr split left the copy too
     narrow for the headline's intended two-line break at 56px. */
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}

.h1 {
  font-weight: 800;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}

/* Turkish runs longer than the English the headline was drawn for; a
   couple of points keeps it on the intended two lines. */
[data-lang="tr"] .h1 { font-size: 51px; }

.hero p.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 30px;
  max-width: 460px;
}

.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-actions p { font-size: 14px; color: var(--muted); margin: 0; }

/* App Store badge — styled as the real thing, but not live yet. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 12px 20px;
  cursor: default;
}

.store-badge:hover { color: #fff; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge-text small { font-size: 10px; opacity: .8; }
.store-badge-text strong { font-size: 18px; font-weight: 700; }

/* Phone mockups ----------------------------------------------------- */

.hero-shot { display: flex; justify-content: center; }

.phone {
  width: 270px;
  padding: 9px;
  background: var(--surface);
  border-radius: 44px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .04);
}

.phone img { width: 100%; height: auto; display: block; border-radius: 36px; }

.shot {
  width: 230px;
  padding: 8px;
  background: var(--surface);
  border-radius: 38px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .04);
}

.shot img { width: 100%; height: auto; display: block; border-radius: 30px; }

/* Moment band ------------------------------------------------------- */

.moment {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0 28px;
  text-align: center;
}

.moment h2 { font-weight: 800; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 14px; }
.moment p { font-size: 18px; line-height: 1.55; color: var(--body); margin: 0; }

/* Steps ------------------------------------------------------------- */

.steps {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.step { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: center; }
.step.reverse { grid-template-columns: 300px 1fr; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.step h3 { font-weight: 800; font-size: 26px; letter-spacing: -.02em; margin: 0 0 10px; }
.step p { font-size: 17px; line-height: 1.6; color: var(--body); margin: 0; max-width: 440px; }

/* Feature grid ------------------------------------------------------ */

.features { max-width: 1000px; margin: 56px auto 0; padding: 44px 28px; }
.features h2 { font-weight: 800; font-size: 30px; letter-spacing: -.02em; text-align: center; margin: 0 0 32px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.card {
  background: var(--surface);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--inset);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h3 { font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--body); margin: 0; }

/* Closing ----------------------------------------------------------- */

.closing { max-width: 640px; margin: 40px auto 0; padding: 44px 28px 12px; text-align: center; }
.closing h2 { font-weight: 800; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 24px; }
.closing .badge-row { display: flex; justify-content: center; }
.closing p { font-size: 14px; color: var(--muted); margin: 18px 0 0; }

/* Text pages (privacy, support) ------------------------------------- */

.doc { max-width: 720px; margin: 0 auto; padding: 20px 28px 0; }

.back-link {
  border: none;
  background: var(--surface);
  box-shadow: var(--pill-shadow);
  border-radius: 999px;
  padding: 8px 15px;
  font-family: "Nunito", -apple-system, system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.back-link:hover { color: var(--ink); }

.doc h1 { font-weight: 800; font-size: 38px; letter-spacing: -.02em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }

.doc-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 8px 30px 30px;
  box-shadow: var(--card-shadow);
  font-size: 16px;
  line-height: 1.65;
  color: #3a3833;
}

.doc-card h2 { font-weight: 800; font-size: 20px; color: var(--ink); margin: 26px 0 8px; }
.doc-card h3 { font-weight: 700; font-size: 17px; color: var(--ink); margin: 18px 0 6px; }
.doc-card ul { padding-left: 20px; margin: 0; }
.doc-card li { margin-bottom: 6px; }
.doc-card a { color: var(--orange); }

/* Footer ------------------------------------------------------------ */

.site-foot {
  max-width: 1080px;
  margin: 56px auto 0;
  padding: 24px 28px 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--ink); }
.site-foot .spacer { flex: 1; }

/* Responsive -------------------------------------------------------- */

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-actions { align-items: center; }
  .step, .step.reverse { grid-template-columns: 1fr; text-align: center; }
  .step .shot { order: -1; margin: 0 auto; }
  .step p { margin-left: auto; margin-right: auto; }
  .h1 { font-size: 44px; }
  .grid2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .h1 { font-size: 36px; }
  .moment h2, .features h2, .closing h2 { font-size: 25px; }
  .doc h1 { font-size: 30px; }
  .doc-card { padding: 8px 22px 24px; }
}
