:root {
  color-scheme: light;
  --background: #f6f5f0;
  --surface: #ffffff;
  --surface-muted: #eeece5;
  --ink: #181916;
  --ink-soft: #5d6058;
  --line: #d9d7cf;
  --accent: #245b4b;
  --accent-strong: #19473a;
  --accent-soft: #dce9e3;
  --sand: #e7c999;
  --blue: #9dbbc3;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow: 0 30px 80px rgb(35 39 32 / 12%);
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #3c806a;
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgb(24 25 22 / 8%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.language-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.language-button {
  width: 32px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: 0.48;
  transition: background-color 160ms ease, opacity 160ms ease;
}

.language-button:hover,
.language-button[aria-pressed="true"] {
  background: var(--accent-soft);
  opacity: 1;
}

.site-nav a,
.back-link,
.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.back-link:hover,
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  overflow: hidden;
  padding: clamp(74px, 10vw, 132px) 0 clamp(88px, 12vw, 148px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 4vw, 56px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
}

h1 {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: clamp(52px, 6.5vw, 82px);
  font-weight: 670;
  letter-spacing: -0.065em;
}

.hero-description {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px rgb(24 25 22 / 18%);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-light:hover {
  background: var(--background);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink-soft);
  background: var(--surface);
}

.button-arrow {
  font-size: 18px;
  line-height: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

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

.text-link[hidden] {
  display: none;
}

.product-preview {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0;
  justify-self: end;
  isolation: isolate;
}

.product-preview::before {
  position: absolute;
  inset: -7% -5% 10% 10%;
  border-radius: 50%;
  background: var(--accent-soft);
  content: "";
  filter: blur(10px);
  opacity: 0.52;
  transform: rotate(-4deg);
  z-index: -2;
}

.preview-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.37 / 1;
  border: 1px solid rgb(24 25 22 / 12%);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid #e7e6e1;
  background: #fafafa;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border: 1px solid #d7d6d1;
  border-radius: 50%;
  background: #ecebe7;
}

.window-title {
  color: #777970;
  font-size: 11px;
  font-weight: 700;
}

.preview-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  min-height: 88px;
  padding: 22px 26px 16px;
}

.preview-kicker {
  color: #8d8f88;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.preview-week {
  color: #292a26;
  font-size: 14px;
  font-weight: 700;
}

.preview-today {
  justify-self: end;
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
}

.preview-calendar {
  display: grid;
  height: calc(100% - 136px);
  grid-template-columns: 34px repeat(5, 1fr);
  margin: 0 22px 22px;
  border: 1px solid #e9e8e3;
  border-radius: 10px;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 19%, #eeede9 20%),
    #fcfcfb;
}

.time-rail,
.day-column {
  position: relative;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
}

.time-rail {
  padding-top: 24px;
  color: #aaaca5;
  font-size: 7px;
  text-align: center;
}

.day-column {
  border-left: 1px solid #eeede9;
}

.day-column > span {
  position: absolute;
  top: 8px;
  width: 100%;
  color: #9b9d96;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.day-column.is-today {
  background: rgb(36 91 75 / 3%);
}

.day-column.is-today > span {
  color: var(--accent);
}

.block {
  position: absolute;
  top: 28%;
  right: 8px;
  left: 8px;
  height: 24%;
  border-radius: 6px;
  background: var(--accent-soft);
}

.block-sand {
  top: 48%;
  background: #f0e2cb;
}

.block-dark {
  top: 21%;
  height: 35%;
  background: var(--accent);
}

.block-late {
  top: 60%;
  height: 20%;
}

.block-mid {
  top: 36%;
  height: 18%;
}

.product-preview figcaption {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 17px;
  color: #777a72;
  font-size: 11px;
}

.product-preview code {
  color: var(--ink-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.product-preview-image img,
.product-preview-image video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 890 / 632;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 64px rgb(35 39 32 / 14%);
}

.product-preview-image img {
  border: 1px solid rgb(24 25 22 / 12%);
}

.product-preview-image video {
  clip-path: inset(0 round 18px);
  box-shadow: none;
}

.product-preview-image::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 18px;
  box-shadow: 0 28px 52px rgb(35 39 32 / 28%);
  content: "";
}

.features {
  padding: clamp(84px, 11vw, 140px) 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 72px;
}

.section-heading h2,
.final-cta h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 650;
  letter-spacing: -0.05em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  min-height: 270px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 48px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 28px;
  font-weight: 700;
}

.feature-card h3 {
  max-width: 410px;
  margin-bottom: 14px;
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.feature-card p {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.print-section {
  padding: clamp(76px, 9vw, 112px) 0;
}

.print-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  min-height: 420px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.print-copy {
  padding: clamp(34px, 5vw, 64px);
}

.print-label {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.print-card h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.print-copy > p:last-child {
  max-width: 430px;
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.print-preview {
  position: relative;
  align-self: stretch;
  margin: 0;
  overflow: hidden;
}

.print-preview img {
  display: block;
  width: 132%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  mask-image: linear-gradient(
    to right,
    #000 0 18%,
    rgb(0 0 0 / 88%) 38%,
    rgb(0 0 0 / 35%) 58%,
    rgb(0 0 0 / 8%) 75%,
    transparent 84%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0 18%,
    rgb(0 0 0 / 88%) 38%,
    rgb(0 0 0 / 35%) 58%,
    rgb(0 0 0 / 8%) 75%,
    transparent 84%
  );
}

.print-preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 18%,
    rgb(24 25 22 / 8%) 50%,
    rgb(24 25 22 / 34%) 100%
  );
  content: "";
  mask-image: linear-gradient(
    to right,
    #000 0 24%,
    rgb(0 0 0 / 88%) 50%,
    rgb(0 0 0 / 35%) 76%,
    rgb(0 0 0 / 8%) 99%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0 24%,
    rgb(0 0 0 / 88%) 50%,
    rgb(0 0 0 / 35%) 76%,
    rgb(0 0 0 / 8%) 99%,
    transparent 100%
  );
  pointer-events: none;
}

.final-cta {
  margin: 0 24px;
  border-radius: var(--radius-lg);
  background: var(--accent-strong);
  color: #fff;
}

.final-cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  min-height: 360px;
  padding-block: clamp(58px, 8vw, 90px);
}

.final-cta .eyebrow {
  color: #b9d3c8;
}

.final-cta h2 {
  max-width: 620px;
}

.site-footer {
  padding: 70px 0 42px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: end;
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.copyright {
  margin: 0;
  color: #777a72;
  font-size: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.privacy-main {
  min-height: calc(100vh - 220px);
}

.privacy-article {
  max-width: 850px;
  padding-top: clamp(76px, 10vw, 124px);
  padding-bottom: clamp(84px, 11vw, 136px);
}

.privacy-header {
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.privacy-header h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 78px);
}

.privacy-intro {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.4vw, 22px);
}

.last-updated {
  margin: 26px 0 0;
  color: #777a72;
  font-size: 12px;
}

.privacy-content {
  display: grid;
  gap: 0;
  margin-bottom: 48px;
}

.privacy-content section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-content h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.privacy-content p {
  margin: 0;
  color: var(--ink-soft);
}

.privacy-footer {
  border-top: 1px solid var(--line);
}

.privacy-footer .footer-inner {
  display: block;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .product-preview {
    width: 100%;
    max-width: 720px;
    justify-self: start;
  }

  .print-card {
    grid-template-columns: 1fr;
  }

  .print-preview {
    min-height: 360px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-inner {
    min-height: 72px;
  }

  .site-nav {
    gap: 16px;
  }

  .header-actions {
    gap: 12px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 64px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .button-primary {
    width: 100%;
  }

  .product-preview::before {
    inset: -5% -4% 10% 8%;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 52px;
  }

  .print-copy {
    padding: 32px 24px;
  }

  .print-preview {
    min-height: 260px;
  }

  .final-cta {
    margin: 0 12px;
    border-radius: 22px;
  }

  .final-cta-inner {
    min-height: 400px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
  }

  .final-cta .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .copyright {
    grid-column: auto;
  }

  .privacy-content section {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
