/* Welcome page only (welcome.html). Builds on site.css: same colours and fonts as the app. No red anywhere. */

.wrap-wide {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.welcome main { padding: 0; }
.welcome section { padding: 3.5rem 0; }
.welcome h2 { font-size: 1.9rem; margin: 0 0 0.75rem; }
.welcome h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.welcome .lead { font-size: 1.15rem; max-width: 38rem; }
.section-intro { max-width: 40rem; margin-bottom: 2rem; }

/* Header and footer as wide as the page */
.welcome .site-header .wrap, .welcome .site-footer .wrap { max-width: 68rem; }

/* Buttons and labels */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: var(--kinari-sand);
  color: var(--sumi-ink);
}
.btn:hover { background: #ede1c4; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-indigo { background: var(--ai-indigo); color: var(--white); }
.btn-indigo:hover { background: #263f69; }
.btn:focus-visible { outline: 3px solid var(--kinari-sand); outline-offset: 3px; }
.btn-indigo:focus-visible { outline-color: var(--ai-indigo); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }

/* Hero */
.hero {
  background: var(--ai-indigo);
  color: var(--paper);
}
.welcome .hero { padding: 3rem 0 3.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero .eyebrow {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--kinari-sand);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.hero .lead { color: #e8ecf1; }
.hero .coming {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.2rem 0 0.2rem 0.75rem;
  border-left: 4px solid var(--kinari-sand);
  color: var(--white);
  font-weight: 600;
}
.hero-shot {
  justify-self: center;
  width: 100%;
  max-width: 360px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(10, 18, 32, 0.45);
  overflow: hidden;
}
.hero-shot img { display: block; width: 100%; height: auto; }

/* The three promises */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.promise {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 20px;
  padding: 1.5rem;
}
.promise .dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--kinari-sand);
  border: 3px solid var(--ai-indigo);
  margin-bottom: 0.9rem;
}
.promise p { margin: 0; }

/* Feature tour */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0;
}
.feature + .feature { border-top: 1px solid var(--mist); }
.feature.flip .feature-text { order: 2; }
.feature.flip .feature-shot { order: 1; }
.feature-text p:last-child { margin-bottom: 0; }
.shot {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid var(--mist);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(28, 37, 48, 0.12);
}
.shot-tall { max-height: 620px; object-fit: cover; object-position: top; }
.tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.35rem;
}
.tag-free { background: #e3ece5; color: var(--moss); }
.tag-plus { background: var(--mist); color: var(--ai-indigo); }

/* Widgets: shown on a dark band, like a home screen */
.widgets {
  background: var(--sumi-ink);
  color: #e8ecf1;
}
.widgets h2 { color: var(--white); }
.widgets .tag-free { background: rgba(140, 192, 154, 0.18); color: #8cc09a; }
.widgets .tag-plus { background: rgba(157, 180, 224, 0.18); color: #9db4e0; }
.widget-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}
.widget-shots figure { margin: 0; }
.widget-shots.single { grid-template-columns: 1fr; max-width: 34rem; }
.widget-shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.widget-shots figcaption { margin-top: 0.6rem; color: #a7b1bc; font-size: 0.95rem; }
.widget-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.75rem; }
.widget-list li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin: 0;
}
.widget-list strong { display: block; color: var(--white); margin-top: 0.4rem; }
.widget-list .tag { margin-left: 0; }

/* Everything that's free */
.free-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.6rem 1.25rem;
}
.free-grid li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  margin: 0;
  border-bottom: 1px solid var(--mist);
}
.free-grid li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.95rem;
  width: 0.9rem;
  height: 0.45rem;
  border-left: 3px solid var(--moss);
  border-bottom: 3px solid var(--moss);
  transform: rotate(-45deg);
}

/* Plus */
.plus { background: var(--mist); }
.plus-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.plus-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.plus-list li {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 1rem 1.1rem 1rem 3.2rem;
  margin: 0 0 0.6rem;
}
.plus-list li::before {
  content: '+';
  position: absolute;
  left: 1.1rem;
  top: 0.85rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--ai-indigo);
  color: var(--white);
  font-weight: 600;
  line-height: 1.35rem;
  text-align: center;
}
.plus-list strong { display: block; }
.pledge {
  background: #e3ece5;
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
}
.pledge h3 { color: var(--moss); margin-bottom: 0.35rem; }
.pledge p { margin: 0; }
.plus-shots { display: grid; gap: 1.25rem; }
.price-line { font-weight: 600; color: var(--ai-indigo); }

/* Say thanks */
.thanks-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--mist);
  border-left: 6px solid var(--kinari-sand);
  border-radius: 20px;
  padding: 1.75rem;
}
.thanks-card .ring { width: 56px; height: 56px; }
.thanks-card p:last-child { margin-bottom: 0; }
.path {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 8px;
  padding: 0.05rem 0.5rem;
  font-weight: 600;
}

/* Testers */
.test-card {
  background: var(--ai-indigo);
  color: #e8ecf1;
  border-radius: 28px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.test-card h2 { color: var(--white); }
.test-card ul { margin: 0; }
.test-card .small { color: #c9d3e6; font-size: 0.95rem; margin-top: 1rem; }
.test-card .actions { margin-top: 1rem; }
.need {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
}
.need h3 { color: var(--white); font-size: 1.1rem; }

.welcome .notice { margin: 0; }

@media (max-width: 820px) {
  .hero-grid, .feature, .plus-grid, .test-card { grid-template-columns: 1fr; }
  .feature { gap: 1.5rem; }
  .feature.flip .feature-text { order: 1; }
  .feature.flip .feature-shot { order: 2; }
  .promise-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .welcome section { padding: 2.5rem 0; }
  .test-card { padding: 1.75rem; }
}
@media (max-width: 480px) {
  .widget-shots { grid-template-columns: 1fr; }
  .thanks-card { grid-template-columns: 1fr; }
  .welcome h2 { font-size: 1.6rem; }
}

/* Widgets: picture on the left, the lock screen and the widget list on the right */
.widget-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}
.widget-figure { margin: 0; }
.widget-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.widget-figure figcaption { margin-top: 0.6rem; color: #a7b1bc; font-size: 0.95rem; }
.widget-side { display: grid; gap: 1.25rem; }
.widget-side .widget-list { grid-template-columns: 1fr 1fr; }
.lock-demo {
  background: linear-gradient(160deg, #2a4170 0%, #121820 85%);
  border-radius: 22px;
  padding: 1.4rem;
}
.lock-label {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c9d3e6;
}
.notif {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.8rem;
  align-items: start;
  background: rgba(243, 244, 241, 0.96);
  color: var(--sumi-ink);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.notif img { width: 36px; height: 36px; border-radius: 10px; }
.notif p { margin: 0; }
.notif-head { font-size: 0.9rem; color: var(--ink-muted); }
.notif-head strong { color: var(--sumi-ink); }
.notif-body { font-size: 1rem; line-height: 1.45; }
.lock-note { margin: 0.9rem 0 0; color: #c9d3e6; font-size: 0.95rem; }
.how-to { margin: 0; color: #a7b1bc; font-size: 0.95rem; }
.how-to strong { color: #e8ecf1; }
@media (max-width: 820px) {
  .widget-layout { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .widget-side .widget-list { grid-template-columns: 1fr; }
}
