/* roamsketch.com: the app's colours (web/index.html, ExtendedColors) and Playfair from the app. */
@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --forest: #2D4A3E;
  --forest-deep: #233B31;
  --forest-soft: #3A5E4F;
  --terracotta: #BA5737;
  --sand: #D4A574;
  --cream: #FFFDF8;
  --paper: #F6F1E7;
  --ink: #1A1A18;
  --ink-soft: #4A4A48;
  --line: rgba(45, 74, 62, 0.14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; line-height: 1.12; margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 20px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.3rem; }
.lang { color: var(--sand); text-decoration: none; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; }
.lang:hover { color: var(--cream); }

/* Hero */
.hero {
  background: radial-gradient(120% 90% at 70% 0%, var(--forest-soft) 0%, var(--forest) 50%, var(--forest-deep) 100%);
  color: var(--cream);
  padding: 112px 0 80px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--sand); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); letter-spacing: -0.01em; }
.hero p.lead { font-size: 1.2rem; color: rgba(255, 253, 248, 0.86); margin: 22px 0 34px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 14px;
  font-weight: 650; font-size: 1rem; text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: #A44C30; }
.btn-soon { background: rgba(255, 253, 248, 0.1); color: var(--cream); border: 1px solid rgba(212, 165, 116, 0.55); cursor: default; }
.btn-soon small { display: block; font-weight: 500; font-size: 0.78rem; color: var(--sand); }
.btn svg { width: 22px; height: 22px; flex: none; }
.note { margin: 16px 0 0; font-size: 0.9rem; color: rgba(255, 253, 248, 0.7); }
.hero-phone { justify-self: center; }
.hero-phone img {
  width: 320px; height: auto; border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 165, 116, 0.25);
}

/* Features */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--forest); }
.section-head p { color: var(--ink-soft); margin: 14px 0 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--paper); font-size: 1.45rem; margin-bottom: 16px;
}
.feature h3 { font-size: 1.25rem; color: var(--forest); margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Screens */
.screens { background: var(--paper); }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}
.gallery img { width: 240px; height: 427px; object-fit: cover; border-radius: 18px; scroll-snap-align: start; box-shadow: 0 10px 30px rgba(35, 59, 49, 0.18); }

/* Testers */
.testers .card {
  background: var(--forest); color: var(--cream); border-radius: 24px;
  padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.testers h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.testers p { color: rgba(255, 253, 248, 0.86); margin: 14px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps b {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sand); color: var(--forest-deep); font-size: 0.9rem;
}
.testers .btn { margin-top: 26px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-soft); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink-soft); }
footer a:hover { color: var(--terracotta); }

@media (max-width: 860px) {
  .hero { padding: 96px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone img { width: 260px; }
  .features { grid-template-columns: 1fr 1fr; }
  .testers .card { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
}
@media (max-width: 560px) {
  .wrap, .top { padding-left: 16px; padding-right: 16px; }
  section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: 200px; }
  .gallery img { width: 200px; height: 356px; }
  .btn { width: 100%; justify-content: center; }
}
