:root {
  color-scheme: light;
  --paper: #fbf8ec;
  --ink: #383b33;
  --blue: #456f98;
  --orange: #c75725;
  --green: #657b2b;
  --yellow: #dfa328;
  --line: rgba(83, 91, 72, .17);
  --notebook-rule: 45px;
  --notebook-double: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  position: relative;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(to bottom, transparent 44px, rgba(69, 111, 152, .24) 44px 45px),
    radial-gradient(circle at 50% 20%, #fffdf69e, transparent 70%),
    linear-gradient(110deg, #f9f4e6, #fbf8ec 52%, #f7f0df);
  background-size: 100% var(--notebook-rule), 100% 100%, 100% 100%;
  background-position: 0 11px, center, center;
  background-repeat: repeat, no-repeat, no-repeat;
  font-family: ui-rounded, "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(8px, calc((100vw - 1168px) / 2));
  width: 2px;
  background: rgba(185, 91, 69, .35);
  pointer-events: none;
}
a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 100px;
  position: relative;
  z-index: 2;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.brand img, .footer-brand img { border-radius: 12px; box-shadow: 0 3px 10px #514d3526; }
.site-nav { display: flex; align-items: center; gap: 12px; }
.nav-label { color: #5b604f; font-size: .82rem; }
.language-switch { display: inline-flex; padding: 4px; gap: 3px; background: #fff9e8cc; border: 1px solid var(--line); border-radius: 999px; }
.language-switch a { min-width: 38px; padding: 5px 7px; text-align: center; border-radius: 999px; text-decoration: none; font-size: .78rem; font-weight: 800; }
.language-switch a:hover, .language-switch a:focus-visible { background: #eadfbf; }
.language-switch a[aria-current] { background: var(--blue); color: white; }

.hero { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; min-height: 610px; gap: 6%; padding-block: 24px 80px; }
.hero-copy { max-width: 590px; }
.eyebrow { margin: 0 0 20px; color: var(--green); text-transform: uppercase; font-size: .78rem; font-weight: 900; letter-spacing: .115em; line-height: var(--notebook-rule); }
.hero-copy .eyebrow { margin-bottom: -18px; }
.eyebrow-dot { display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: var(--orange); vertical-align: 1px; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { margin: 0; font-size: clamp(3.3rem, 6vw, 5.9rem); line-height: var(--notebook-double); }
.hero-description { max-width: 510px; margin: 26px 0 34px; font-size: 1.16rem; line-height: var(--notebook-rule); color: #50574a; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 15px 23px; color: #fff; background: var(--blue); border-radius: 16px 18px 15px 18px; text-decoration: none; font-weight: 800; box-shadow: 4px 6px 0 #30516d33; transform: rotate(-1deg); transition: transform .2s, box-shadow .2s; }
.button:hover { transform: rotate(0) translateY(-3px); box-shadow: 5px 9px 0 #30516d33; }
.button span { font-size: 1.35rem; line-height: 1; }
button.button { border: 0; font: inherit; font-weight: 800; }
.button:disabled { cursor: default; }
.button:disabled:hover { transform: rotate(-1deg); box-shadow: 4px 6px 0 #30516d33; }
.download-note { margin: 14px 0 0; color: #50574a; font-size: .85rem; }
.hero-art { min-height: 540px; position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: min(92%, 470px); aspect-ratio: 1; background: #d6e8dd99; border-radius: 43% 57% 54% 46% / 55% 45% 55% 45%; transform: rotate(-13deg); }
.phone { position: relative; width: 251px; padding: 20px 9px 9px; overflow: hidden; background: #2e382f; border: 4px solid #252e27; border-radius: 38px; box-shadow: 12px 17px 0 #56704429, 0 20px 34px #464a3233; z-index: 1; }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.phone-speaker { position: absolute; top: 8px; left: 50%; width: 54px; height: 6px; border-radius: 20px; background: #141c17; transform: translateX(-50%); z-index: 2; }
.doodle { position: absolute; z-index: 2; pointer-events: none; }
.doodle-star { width: 70px; top: 6%; right: 3%; transform: rotate(13deg); }
.doodle-leaf { width: 104px; left: 4%; bottom: 13%; transform: rotate(-21deg); }

.features { padding-block: 70px 85px; scroll-margin-top: 20px; }
.section-heading { margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: -18px; }
h2 { font-size: clamp(2.25rem, 4vw, 3.7rem); line-height: var(--notebook-double); margin: 0; }
.section-heading h2 { font-size: clamp(1.9rem, 3.3vw, 2.35rem); line-height: var(--notebook-rule); }
.journey-route { position: relative; display: grid; gap: 140px; }
.journey-map-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.journey-map-line path { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 12 15; vector-effect: non-scaling-stroke; opacity: .62; }
.journey-step { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; min-height: 570px; }
.journey-media { position: relative; display: grid; place-items: center; min-width: 0; padding-block: 12px; }
.journey-media::before { content: ""; position: absolute; width: min(82%, 390px); aspect-ratio: 1; background: #e6ecdbac; border-radius: 43% 57% 54% 46% / 55% 45% 55% 45%; transform: rotate(-12deg); }
.journey-phone { width: min(225px, 68%); transform: rotate(-3deg); }
.journey-step--right .journey-media { grid-column: 2; grid-row: 1; }
.journey-step--right .journey-copy { grid-column: 1; grid-row: 1; }
.journey-step--right .journey-media::before { background: #e2ebeea8; transform: rotate(12deg); }
.journey-step--right .journey-phone { transform: rotate(3deg); }
.journey-copy { position: relative; z-index: 1; max-width: 500px; padding: clamp(24px, 3.5vw, 40px); background: #fffdf5e8; border: 1.5px solid #e3d9be; border-radius: 24px 21px 28px 20px; box-shadow: 4px 5px 0 #b5a9832e; }
.journey-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.journey-copy h3 { min-width: 0; margin: 0; font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.2; }
.journey-copy p { margin: 0; color: #5c6053; font-size: 1.08rem; line-height: 1.6; }
.badge { display: inline-block; margin-bottom: -8px; padding: 6px 13px 5px; border: 1px solid #c9d8bf; border-radius: 999px; color: var(--green); background: #edf3df; font-size: .8rem; font-weight: 800; line-height: 1.1; }
.journey-copy .badge { margin: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 145px; margin-top: 35px; }
.footer-brand { display: flex; gap: 10px; align-items: center; font-weight: 800; text-decoration: none; }
.footer-brand small { display: block; color: #717467; font-size: .78rem; font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.footer-links a { color: var(--blue); font-weight: 700; text-underline-offset: 4px; }

.policy { padding-block: 55px 70px; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--blue); text-underline-offset: 5px; font-weight: 800; }
.policy-card { position: relative; width: 100%; padding: clamp(30px, 6vw, 72px); background: #fffdf6ad; border: 1px solid #e5dcc3; border-radius: 28px; box-shadow: 5px 7px 0 #baa9832b; }
.policy-card h1 { padding-right: 54px; font-size: clamp(2.7rem, 5vw, 4.5rem); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.policy-star { position: absolute; top: 42px; right: 42px; width: 54px; transform: rotate(12deg); }
.policy-intro { margin: -8px 0 0; color: #5c6155; font-size: 1.06rem; line-height: var(--notebook-rule); }
.policy-section { padding: 25px 0; }
.policy-section h2 { margin: 0; font-size: 1.5rem; line-height: var(--notebook-rule); }
.policy-section p { margin: 0; color: #555b4f; line-height: var(--notebook-rule); }
.policy-section a { color: var(--blue); font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 2%; min-height: 540px; }
  .hero-art { min-height: 460px; }
  .phone { width: 210px; }
  .journey-step { min-height: 500px; }
  .journey-phone { width: min(205px, 68%); }
  h2 { line-height: var(--notebook-rule); }
}
@media (max-width: 650px) {
  .shell { width: min(480px, calc(100% - 36px)); }
  .site-header { min-height: 82px; gap: 10px; padding-block: 12px; }
  .brand { font-size: 1.06rem; }
  .brand img { width: 38px; height: 38px; }
  .nav-label { display: none; }
  .language-switch a { min-width: 34px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-block: 45px 45px; gap: 0; }
  .hero-copy { position: relative; z-index: 1; }
  h1 { font-size: clamp(2.55rem, 10vw, 3.1rem); line-height: var(--notebook-rule); }
  .section-heading h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero-description { font-size: 1.05rem; margin-block: 20px 28px; }
  .hero-copy > .button { display: flex; width: fit-content; margin-inline: auto; }
  .download-note { text-align: center; }
  .hero-art { min-height: 0; padding-block: 24px; margin-top: 20px; }
  .hero-art::before { width: calc(88% * 2 / 3); }
  /* Keep the entire mobile phone frame at two thirds of its previous size. */
  .phone {
    width: min(130px, 40vw);
    padding: calc(20px * 2 / 3) 6px 6px;
    border-width: calc(4px * 2 / 3);
    border-radius: calc(38px * 2 / 3);
    box-shadow: 8px calc(17px * 2 / 3) 0 #56704429, 0 calc(20px * 2 / 3) calc(34px * 2 / 3) #464a3233;
  }
  .phone img { border-radius: calc(26px * 2 / 3); }
  .phone-speaker { top: calc(8px * 2 / 3); width: 36px; height: 4px; border-radius: calc(20px * 2 / 3); }
  .doodle-star { right: 4%; width: 55px; }
  .doodle-leaf { left: 5%; bottom: 7%; width: 75px; }
  .features { padding-block: 35px 65px; }
  .section-heading { margin-bottom: 28px; }
  .journey-route { gap: 90px; }
  .journey-step { grid-template-columns: 1fr; gap: 26px; min-height: 0; }
  .journey-step .journey-copy { grid-column: 1; grid-row: 1; }
  .journey-step .journey-media { grid-column: 1; grid-row: 2; }
  .journey-phone { width: min(150px, calc(68vw * 2 / 3)); }
  .journey-media::before { width: min(calc(82% * 2 / 3), 260px); }
  .site-footer { min-height: 130px; }
  .policy { padding-block: 26px 50px; }
  .policy-star { width: 36px; top: 26px; right: 23px; }
  .policy-card h1 { padding-right: 24px; font-size: clamp(2rem, 8.5vw, 2.7rem); }
}
@media (max-width: 380px) {
  .site-header { flex-wrap: wrap; }
  .site-nav { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
