@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Hahmlet:wght@300;400;500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --ink: #3b3232;
  --muted: #635b5b;
  --paper: #fff;
  --mint: #84dcc6;
  --mint-light: #99e1d9;
  --pink: #f3898f;
  --pink-dark: #df7178;
  --line: rgba(59, 50, 50, .14);
  --shadow: 0 24px 70px rgba(59, 50, 50, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.site-nav { display: flex; gap: 22px; font-size: .88rem; }
.site-nav a { text-decoration: none; opacity: .76; transition: opacity .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  overflow: hidden;
}
.demo-panel {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 92px 7vw 60px;
  background: linear-gradient(205deg, var(--mint-light), var(--mint));
}
.product-hunt {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform .2s ease;
}
.product-hunt:hover { transform: translateX(-50%) translateY(-2px); }
.product-hunt img { width: 250px; height: 54px; }
.phone-demo {
  width: min(610px, 46vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.2);
}
.copy-panel {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 110px clamp(42px, 7vw, 115px) 54px;
  background:
    linear-gradient(270deg, rgba(255,255,255,.92) 56%, rgba(255,255,255,.44)),
    url('/assets/images/bg.svg') center / cover no-repeat,
    #c7c7c7;
}
.copy-wrap { max-width: 560px; }
.hero-title {
  margin: 0 0 28px;
  font-family: "Abril Fatface", Georgia, serif;
  font-size: clamp(3.5rem, 6.2vw, 7.3rem);
  line-height: .91;
  letter-spacing: -.035em;
  font-weight: 400;
}
.hero-title span { display: block; }
.app-logo { width: 112px; height: 112px; padding: 7px; border: 1px solid rgba(255,255,255,.46); border-radius: 50%; margin: 0 0 25px; }
.promise {
  margin: 0;
  font-family: Hahmlet, Georgia, serif;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  font-weight: 300;
  line-height: 1.43;
}
.store-buttons { display: flex; gap: 18px; flex-wrap: wrap; margin: 34px 0 28px; }
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 13px 20px;
  border-radius: 12px;
  color: white;
  background: var(--pink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(243,137,143,.27);
  transition: transform .2s ease, background .2s ease;
}
.store-button:hover, .store-button:focus-visible { transform: translateY(-2px); background: var(--pink-dark); }
.store-button svg { width: 28px; height: 28px; fill: currentColor; flex: 0 0 auto; }
.store-button small, .store-button strong { display: block; }
.store-button small { font-size: .66rem; opacity: .82; text-transform: uppercase; letter-spacing: .06em; }
.store-button strong { font-size: 1rem; font-weight: 500; }
.contact { margin: 0; font-family: Hahmlet, Georgia, serif; font-size: .95rem; color: var(--muted); }
.contact a { text-underline-offset: 3px; }

.content-header {
  position: static;
  width: min(1120px, calc(100% - 40px));
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.content-header .site-nav { display: flex; }
.page-shell { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.page-kicker { margin: 0 0 16px; color: var(--pink-dark); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; }
.page-title { margin: 0 0 18px; font-family: "Abril Fatface", Georgia, serif; font-size: clamp(3rem, 8vw, 6rem); line-height: .98; font-weight: 400; }
.page-intro { max-width: 680px; margin: 0 0 52px; font-family: Hahmlet, Georgia, serif; color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.prose { font-family: Hahmlet, Georgia, serif; font-size: 1.04rem; line-height: 1.82; }
.prose h2 { margin: 48px 0 14px; font-family: Inter, sans-serif; font-size: 1.38rem; line-height: 1.25; }
.prose h3 { margin: 30px 0 10px; font-family: Inter, sans-serif; font-size: 1.04rem; }
.prose p, .prose ul { margin: 0 0 20px; }
.prose ul { padding-left: 24px; }
.prose a { color: #276f68; text-underline-offset: 3px; }
.updated { display: inline-block; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.guide-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #fff, #f4fffc); }
.guide-card .label { color: #277a70; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.guide-card h2 { margin: 34px 0 12px; font-family: Hahmlet, Georgia, serif; font-size: 1.42rem; line-height: 1.3; font-weight: 500; }
.guide-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 38px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-underline-offset: 3px; }

:focus-visible { outline: 3px solid rgba(39,122,112,.4); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 34px); padding: 18px 0; }
  .hero { grid-template-columns: 1fr; }
  .demo-panel { min-height: 72vh; padding: 94px 20px 36px; }
  .phone-demo { width: min(620px, 88vw); }
  .copy-panel { min-height: auto; padding: 75px 28px 70px; }
  .copy-wrap { margin: 0 auto; width: min(100%, 620px); }
  .hero-title { font-size: clamp(4rem, 14vw, 6.2rem); }
}

@media (max-width: 560px) {
  .site-header .site-nav { display: none; }
  .brand span { font-size: .92rem; }
  .product-hunt { top: 72px; }
  .demo-panel { padding-top: 146px; min-height: 64vh; }
  .phone-demo { width: 100%; border-radius: 22px; }
  .copy-panel { padding: 58px 22px 56px; }
  .hero-title { font-size: clamp(3.7rem, 18vw, 5.2rem); margin-bottom: 24px; }
  .app-logo { width: 92px; height: 92px; }
  .promise { font-size: 1.42rem; }
  .store-buttons { flex-direction: column; }
  .store-button { width: 100%; justify-content: center; }
  .content-header .site-nav { display: flex; gap: 12px; font-size: .78rem; }
  .page-shell { padding-top: 48px; }
  .page-title { font-size: 3.2rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

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