/* TabKeep home page. Tokens follow design/SYSTEM.md: one teal accent, Plus Jakarta Sans + Manrope, 8 pt grid. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

.home {
  --bg: #f4f6f6;
  --panel: #ffffff;
  --ink: #14181a;
  --muted: #566066;
  --line: #dde3e3;
  --soft: #e3f1ee;
  --accent: #0b7a6c;
  --accent-ink: #ffffff;
  --shot: #eef3f1;
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .home {
    --bg: #0f1314;
    --panel: #171b1d;
    --ink: #eceff0;
    --muted: #9aa6ab;
    --line: #2a3235;
    --soft: #17302d;
    --accent: #3fd0bd;
    --accent-ink: #06201c;
    --shot: #0f1314;
  }
}
.home h1,
.home h2,
.home h3,
.home .brand {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.01em;
}
.home .site-head {
  background: var(--panel);
  border-color: var(--line);
}
.home .brand {
  font-weight: 800;
}
.home a {
  color: var(--accent);
}
.home .wrap {
  max-width: 1080px;
  padding-left: 24px;
  padding-right: 24px;
}
.home .site-foot {
  background: var(--panel);
  border-color: var(--line);
}

.home .hero {
  padding: 56px 0 24px;
  text-align: center;
}
.home .hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 auto 16px;
  max-width: 18em;
}
.home .hero .lead {
  margin: 0 auto 24px;
  max-width: 38em;
  font-size: 1.15rem;
  color: var(--muted);
}
.home .cta {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  text-decoration: none;
  display: inline-block;
}
.home .cta:hover {
  filter: brightness(1.08);
}
.home .cta:focus-visible,
.home a:focus-visible,
.home input:focus-visible,
.home button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.home .hero .note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.home .shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--shot);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.home .shot img {
  display: block;
  width: 100%;
  height: auto;
}
.home .hero .shot {
  margin-top: 40px;
}

.home .band {
  padding: 56px 0 8px;
}
.home .band h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 800;
  margin: 0 0 8px;
}
.home .band p.sub {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 40em;
}
.home .feature {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.home .feature:nth-of-type(even) {
  grid-template-columns: 1.5fr 1fr;
}
.home .feature:nth-of-type(even) .copy {
  order: 2;
}
.home .feature h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 800;
}
.home .feature p {
  color: var(--muted);
  margin: 0;
}
.home .proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.home .proof li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
}

.home .plans {
  gap: 24px;
}
.home .plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.home .plan.featured {
  border: 2px solid var(--accent);
}
.home .plan h3 {
  font-size: 1.1rem;
  font-weight: 800;
}
.home .price {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
}
.home .plan ul {
  color: var(--muted);
}
.home .badge {
  background: var(--accent);
  color: var(--accent-ink);
}
.home .plan button {
  font-family: inherit;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  border-radius: 10px;
}
.home .status {
  color: var(--muted);
}
.home .card {
  background: var(--panel);
  border-color: var(--line);
}
.home input[type="email"] {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
  border-radius: 10px;
  min-height: 44px;
}
.home form button {
  border-radius: 10px;
  min-height: 44px;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-family: inherit;
}
.home .faq p {
  color: var(--muted);
  max-width: 46em;
}
.home .faq b {
  color: var(--ink);
}

@media (max-width: 860px) {
  .home .feature,
  .home .feature:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .home .feature:nth-of-type(even) .copy {
    order: 0;
  }
  .home .hero {
    padding-top: 32px;
  }
}
@media (max-width: 480px) {
  .home .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .home input[type="email"] {
    min-width: 0;
    width: 100%;
  }
  .home form button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home * {
    transition: none !important;
  }
}

/* Round 1 review: larger shots, clearer section separation, calmer mobile. */
.home .wrap { max-width: 1200px; }
.home .hero { padding-top: 72px; }
.home .hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
.home .hero .shot { box-shadow: 0 24px 60px rgba(20, 24, 26, 0.16); border-radius: 16px; }
.home .feature { grid-template-columns: 1fr 2fr; gap: 56px; padding: 72px 0; }
.home .feature:nth-of-type(even) { grid-template-columns: 2fr 1fr; }
.home .feature h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.home .feature p { font-size: 1.1rem; }
.home .feature .shot { box-shadow: 0 16px 40px rgba(20, 24, 26, 0.12); }
.home .band[aria-labelledby="pricing"] { background: var(--panel); box-shadow: 0 0 0 100vmax var(--panel); clip-path: inset(0 -100vmax); margin-top: 56px; padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home { overflow-x: clip; }
@media (max-width: 860px) {
  .home .feature, .home .feature:nth-of-type(even) { padding: 40px 0; gap: 20px; }
}
@media (max-width: 600px) {
  .home .hero { padding: 28px 0 8px; }
  .home .hero .lead { font-size: 1.02rem; margin-bottom: 20px; }
  .home .hero .shot { margin-top: 24px; }
  .home .proof { display: none; }
  .home .feature, .home .feature:nth-of-type(even) { padding: 28px 0; gap: 14px; }
  .home .feature h2 { font-size: 1.35rem; margin-bottom: 6px; }
  .home .feature p { font-size: 1rem; }
  .home .band { padding: 36px 0 0; }
  .home .band[aria-labelledby="pricing"] { margin-top: 24px; padding-top: 40px; padding-bottom: 32px; }
  .home .plan { padding: 18px; }
  .home .plan.featured { order: -1; }
  .home .plans { gap: 14px; }
  .home .cta { display: block; width: 100%; text-align: center; }
  .home .note { display: none; }
}

/* Round 2: mobile feature blocks become stacked cards; screenshots stay readable (swipe sideways). */
@media (max-width: 600px) {
  .home .feature, .home .feature:nth-of-type(even) { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-top: 16px; }
  .home #features { padding-top: 8px; }
  .home .feature .shot { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
  .home .feature .shot img { width: 170%; max-width: none; }
  .home .feature h2 { font-size: 1.25rem; }
}

@media (max-width: 860px) {
  .home .feature, .home .feature:nth-of-type(even) { grid-template-columns: 1fr; }
  .home .feature:nth-of-type(even) .copy { order: 0; }
}

/* Round 4 (mobile): less copy. One-line cards for the quick features, shorter plan lists, no repeated intro text. */
@media (max-width: 600px) {
  .home .feature:nth-of-type(2) p, .home .feature:nth-of-type(3) p, .home .feature:nth-of-type(4) p { display: none; }
  .home .feature:nth-of-type(4) .shot { display: none; }
  .home .band .sub { display: none; }
  .home .plan ul li:nth-child(n+4) { display: none; }
  .home .plan.featured ul li:nth-child(n+3) { display: none; }
  .home .faq p:nth-of-type(3) { display: none; }
}
