/* Hurtie website. Mobile first; the brand's cream, rose, sage, forest and lavender. */

@font-face {
  font-family: 'Quicksand';
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Quicksand-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Quicksand';
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/Quicksand-Medium.ttf') format('truetype');
}

:root {
  --cream: #f8f4ec;
  --cream-2: #f1ebe0;
  --card: #fffdf9;
  --rose: #dda9ad;
  --rose-soft: #f6e4e3;
  --rose-ink: #8f4e57;
  --sage: #b8c6a5;
  --sage-soft: #e7ecdf;
  --forest: #315c49;
  --forest-ink: #24453a;
  --lavender: #d8c6e2;
  --ink: #2b2f2a;
  --muted: #5f6359;
  --line: #e6dfd2;
  --button: #d6e4d3;
  --button-hover: #c6dac3;
  --shadow: 0 10px 30px rgb(91 74 53 / 0.08);
  --radius: 22px;
  --serif: 'New York', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  --brand: 'Quicksand', var(--sans);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--forest);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--forest-ink);
}
:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
  border-radius: 8px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--forest-ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1em;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--forest);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 760px;
}
.muted {
  color: var(--muted);
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons: large touch targets. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  text-align: center;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--button);
  color: var(--forest-ink);
}
.btn-primary:hover {
  background: var(--button-hover);
  color: var(--forest-ink);
}
.btn-ghost {
  border-color: var(--sage);
  color: var(--forest);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--sage-soft);
}
.btn-link {
  color: var(--forest);
  text-decoration: underline;
  padding: 0 12px;
}
.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

/* Logo */
.logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--forest);
}
.logo .mark svg {
  width: 38px;
  height: 38px;
}
.wordmark {
  direction: ltr;
  unicode-bidi: isolate;
  font: 600 1.6rem/1 var(--brand);
  letter-spacing: -0.01em;
  color: var(--forest);
}
.wordmark .i {
  position: relative;
  display: inline-block;
}
.wordmark .dot {
  position: absolute;
  width: 0.21em;
  height: 0.24em;
  left: 0.01em;
  top: -0.06em;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(248 244 236 / 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgb(230 223 210 / 0.7);
}
.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.bar .logo {
  margin-inline-end: auto;
}
.nav {
  display: none;
}
.nav a {
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
  padding: 10px 4px;
}
.nav a:hover {
  color: var(--forest);
  text-decoration: underline;
}
.cta-top {
  display: none;
  white-space: nowrap;
}
.menu {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu span[aria-hidden] {
  width: 22px;
  height: 2px;
  background: var(--forest);
  box-shadow: 0 -7px 0 var(--forest), 0 7px 0 var(--forest);
}
.menu[aria-expanded='true'] + .nav,
.nav.open {
  display: flex;
}
.nav.open {
  position: absolute;
  inset: 64px 0 auto 0;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
}
.lang select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0 10px;
}
/* In the header the picker is just the globe; the native list opens over it. */
.nav-lang {
  position: relative;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.nav-lang:hover,
.nav-lang:focus-within {
  background: var(--sage-soft);
}
.nav-lang:focus-within {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}
.nav-lang select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media,
.final-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img,
.hero-media video,
.final-media img,
.final-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media video,
.final-media video,
.journey-media video {
  opacity: 0;
  transition: opacity 1.2s ease;
}
video.playing {
  opacity: 1;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(248 244 236 / 0.85) 0%, rgb(248 244 236 / 0.55) 45%, rgb(248 244 236 / 0.92) 100%);
}
.hero-in {
  padding-top: 56px;
  padding-bottom: 72px;
  text-align: center;
  display: grid;
  justify-items: center;
}
.hero-mark svg {
  width: 96px;
  height: 96px;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(2.2rem, 1.3rem + 4.6vw, 4.2rem);
  max-width: 17ch;
}
.hero h1 .sub {
  display: block;
  margin-top: 0.35em;
  font-size: 0.55em;
  color: var(--rose-ink);
  font-style: italic;
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  max-width: 38em;
  color: var(--ink);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 8px 0 14px;
}
.trust {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 72px 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font: 600 0.8rem/1.4 var(--brand);
  color: var(--rose-ink);
  margin-bottom: 10px;
}
.intro {
  max-width: 44em;
  color: var(--muted);
  font-size: 1.1rem;
}
.note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52em;
}

/* Real screens */
.demo {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.shots {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 260px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.shot {
  scroll-snap-align: start;
}
.phone {
  border-radius: 34px;
  border: 8px solid #fff;
  background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  overflow: hidden;
  aspect-ratio: 390 / 844;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot figure {
  margin: 0;
}
.shot figcaption {
  margin-top: 14px;
  display: grid;
  gap: 2px;
  font-size: 0.95rem;
}
.shot figcaption span {
  color: var(--muted);
}
.demo-video {
  margin: 28px 0 0;
}
.demo-video video {
  width: 100%;
  border-radius: var(--radius);
}

/* How it works */
.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
  font: 600 1.1rem/1 var(--brand);
  margin-bottom: 12px;
}

/* Journey */
.journey {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.journey-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.journey-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}
.journey-media img,
.journey-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-media video {
  z-index: 1;
}
.phases {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 14px;
  counter-reset: phase;
}
.phase {
  background: var(--card);
  border: 1px solid var(--line);
  border-inline-start: 5px solid var(--sage);
  border-radius: 18px;
  padding: 18px 20px;
}
.phase:nth-child(2) {
  border-inline-start-color: var(--rose);
}
.phase:nth-child(3) {
  border-inline-start-color: var(--lavender);
}
.phase:nth-child(4) {
  border-inline-start-color: #e9c3a6;
}
.phase:nth-child(5) {
  border-inline-start-color: var(--sage);
}
.phase:nth-child(6) {
  border-inline-start-color: var(--forest);
}
.phase-n {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.phase h3 {
  margin-bottom: 4px;
}
.goal {
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 4px;
}
.phase p:last-child {
  margin: 0;
}

/* Tools */
.tool-grid {
  list-style: none;
  padding: 0;
  margin: 28px 0 20px;
  display: grid;
  gap: 14px;
}
.tool-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.tool-grid .icon {
  width: 28px;
  height: 28px;
  color: var(--forest);
  margin-bottom: 10px;
}
.tool-grid h3 {
  font-size: 1.1rem;
}
.tool-grid p {
  margin: 0;
  color: var(--muted);
}

/* Plans */
.plans {
  background: var(--cream-2);
}
.plan-grid {
  display: grid;
  gap: 18px;
  margin: 28px 0 22px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-featured {
  border: 2px solid var(--forest);
  box-shadow: var(--shadow);
}
.price {
  font: 600 1.9rem/1.2 var(--brand);
  color: var(--forest-ink);
  margin: 4px 0 8px;
}
.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}
.terms {
  font-size: 0.95rem;
  color: var(--muted);
}
.plan ul {
  padding-inline-start: 1.2em;
  margin: 6px 0 16px;
}
.plan li {
  margin-bottom: 6px;
}
.plan .btn {
  margin-top: auto;
}

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 16px 32px 16px 0;
  position: relative;
  min-height: 44px;
}
[dir='rtl'] summary {
  padding: 16px 0 16px 32px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 4px;
  top: 12px;
  font: 500 1.5rem/1 var(--brand);
  color: var(--forest);
}
details[open] summary::after {
  content: '–';
}
details p {
  color: var(--muted);
}

/* Final call */
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 0;
  text-align: center;
}
.final-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(248 244 236 / 0.72);
}
.final-in {
  display: grid;
  justify-items: center;
}
.final h2 {
  max-width: 20ch;
}

/* Footer */
.foot {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: 56px 0 28px;
}
.foot a {
  color: var(--forest-ink);
}
.foot .logo,
.foot .wordmark,
.foot .lang {
  color: var(--forest);
}
.foot .muted {
  color: var(--muted);
}
.foot-grid {
  display: grid;
  gap: 28px;
}
.foot-grid nav,
.foot-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
}
.foot-title {
  font: 600 0.85rem/1.4 var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 4px;
}
.foot-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

/* Legal pages and the language list */
.page h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
  margin-top: 12px;
}
.page h2 {
  font-size: 1.35rem;
  margin-top: 1.6em;
}
.lang-list {
  columns: 2;
  padding: 0;
  list-style: none;
}
.lang-list a {
  display: inline-block;
  padding: 8px 0;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phases {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .foot-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .lang-list {
    columns: 3;
  }
}
@media (min-width: 960px) {
  .menu {
    display: none;
  }
  .nav {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .cta-top {
    display: inline-flex;
  }
  .section {
    padding: 104px 0;
  }
  .journey-grid {
    grid-template-columns: 5fr 6fr;
  }
  .phases {
    grid-template-columns: repeat(3, 1fr);
  }
  .tool-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .shots {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, 1fr);
    overflow: visible;
  }
}
@media (min-width: 960px) and (max-width: 1180px) {
  .nav .signin {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
