/* Boutiko landing page. Mobile first, no external resources. */

:root {
  --brand-900: #06301f;
  --brand-800: #0a4d33;
  --brand-700: #0b6b43;
  --brand-600: #0e8a55;
  --brand-500: #19b36b;
  --mint-50: #f1faf4;
  --mint-100: #dcf3e5;
  --mint-200: #bfe8cf;
  --amber-400: #f6b93b;
  --amber-100: #fdf0d2;
  --coral-500: #e5533c;
  --coral-100: #fde5df;
  --ink-900: #0f1c15;
  --ink-700: #2c3a32;
  --ink-600: #47564d;
  --ink-500: #5b6a61;
  --line: #e2e7e2;
  --bg: #f8faf7;
  --card: #ffffff;
  --chat-bg: #efe9df;
  --bubble-out: #d9fdd3;
  --radius-lg: 24px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(6, 48, 31, 0.06), 0 2px 8px rgba(6, 48, 31, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(6, 48, 31, 0.25);
  --shadow-lg: 0 30px 60px -24px rgba(6, 48, 31, 0.45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand-700);
}

svg {
  flex-shrink: 0;
}

:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 0.6em 1em;
  font-weight: 700;
  color: var(--ink-900);
  background: var(--amber-400);
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1.05rem;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.btn-primary {
  color: #fff;
  background: var(--brand-700);
  box-shadow: 0 8px 20px -8px rgba(11, 107, 67, 0.7);
}

.btn-primary:hover {
  background: var(--brand-800);
}

.btn-ghost {
  color: var(--brand-800);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--mint-200);
}

.btn-ghost:hover {
  background: #fff;
}

.btn-light {
  color: var(--brand-900);
  background: var(--amber-400);
}

.btn-light:hover {
  background: #ffc95c;
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* --- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 247, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

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

.brand-logo {
  width: 34px;
  height: 34px;
}

.nav {
  display: none;
  gap: 4px;
  margin-left: 24px;
}

.nav a {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-600);
  text-decoration: none;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--brand-800);
  background: var(--mint-100);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-800);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle svg {
  width: 18px;
  height: 18px;
}

.lang-toggle:hover {
  border-color: var(--brand-600);
}

.header-cta {
  display: none !important;
}

/* --- Hero --- */

.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: 32px 0 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(10, 77, 51, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.blob-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -120px;
  background: var(--mint-200);
}

.blob-2 {
  width: 320px;
  height: 320px;
  bottom: 40px;
  left: -140px;
  background: var(--amber-100);
}

.blob-3 {
  width: 260px;
  height: 260px;
  top: 40%;
  right: 20%;
  background: #c9f1dc;
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-800);
  background: #fff;
  border: 1px solid var(--mint-200);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 10px;
  height: 10px;
  background: var(--brand-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(25, 179, 107, 0.2);
}

.hero h1 {
  margin-bottom: 18px;
}

.h1-brand {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.h1-tag {
  display: block;
  font-size: clamp(2.3rem, 10vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hl {
  position: relative;
  white-space: nowrap;
  color: var(--brand-700);
  background: linear-gradient(transparent 62%, rgba(246, 185, 59, 0.55) 62%, rgba(246, 185, 59, 0.55) 92%, transparent 92%);
}

.lead {
  max-width: 34em;
  font-size: 1.12rem;
  color: var(--ink-600);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-700);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust svg {
  width: 18px;
  height: 18px;
  padding: 2px;
  color: #fff;
  background: var(--brand-600);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 36px 0 0;
}

.visual-note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--ink-500);
}

/* --- Phone mockup --- */

.device {
  position: relative;
  width: min(300px, 80vw);
  padding: 10px;
  background: #121a16;
  border-radius: 46px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b3a33;
}

.device::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 22px;
  background: #121a16;
  border-radius: 20px;
  transform: translateX(-50%);
}

.screen {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  overflow: hidden;
  background: var(--chat-bg);
  border-radius: 36px;
}

.wa-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 44px 12px 10px;
  color: #fff;
  background: var(--brand-800);
}

.wa-back {
  width: 20px;
  height: 20px;
}

.wa-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
}

.wa-avatar svg {
  width: 26px;
  height: 26px;
}

.wa-who {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wa-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.wa-status {
  font-size: 0.72rem;
  opacity: 0.85;
}

.wa-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  background-color: var(--chat-bg);
  background-image:
    radial-gradient(rgba(10, 77, 51, 0.06) 1.2px, transparent 1.2px),
    radial-gradient(rgba(246, 185, 59, 0.08) 1.2px, transparent 1.2px);
  background-position: 0 0, 11px 11px;
  background-size: 22px 22px;
}

.wa-day {
  align-self: center;
  margin: 0 0 4px;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-600);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
}

.msg {
  position: relative;
  max-width: 84%;
  padding: 6px 9px 18px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-900);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.msg.in {
  align-self: flex-start;
  border-top-left-radius: 3px;
}

.msg.out {
  align-self: flex-end;
  background: var(--bubble-out);
  border-top-right-radius: 3px;
}

.msg.short {
  min-width: 84px;
}

.msg-text {
  display: block;
}

.meta {
  position: absolute;
  right: 8px;
  bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.64rem;
  color: var(--ink-500);
}

.meta svg {
  width: 14px;
  height: 10px;
  color: var(--brand-600);
}

.msg.photo {
  padding: 4px 4px 18px;
}

.photo-thumb {
  display: grid;
  place-items: center;
  width: 170px;
  height: 112px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #d6c9ad, #b9a988);
  border-radius: 9px;
}

.photo-invoice {
  width: 70px;
  height: 88px;
  transform: rotate(-7deg);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25));
}

.msg.photo .msg-text {
  padding: 0 5px;
}

.wa-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 14px;
}

.wa-field {
  flex: 1;
  padding: 9px 14px;
  font-size: 0.8rem;
  color: var(--ink-500);
  background: #fff;
  border-radius: 20px;
}

.wa-mic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--brand-600);
  border-radius: 50%;
}

.wa-mic svg {
  width: 18px;
  height: 18px;
}

/* --- Floating cards --- */

.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  font-size: 0.8rem;
  line-height: 1.3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  animation: float 7s ease-in-out infinite;
}

.float strong {
  display: block;
  font-size: 0.84rem;
}

.float span span {
  display: block;
  color: var(--ink-600);
}

.float .big {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink-900);
}

/* Small screens: around the phone's edges, clear of the chat. */
.float-a {
  top: 0;
  right: 0;
}

.float-b {
  display: none;
  top: 46%;
  right: 0;
  animation-delay: -2.3s;
}

.float-c {
  bottom: 8%;
  left: 2%;
  animation-delay: -4.6s;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.float-icon svg {
  width: 18px;
  height: 18px;
}

.coral {
  color: var(--coral-500);
  background: var(--coral-100);
}

.amber {
  color: #9a6600;
  background: var(--amber-100);
}

.green {
  color: var(--brand-700);
  background: var(--mint-100);
}

.spark {
  width: 72px;
  height: 30px;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
}

.a1 {
  background: #c2410c;
}

.a2 {
  background: #1d4ed8;
}

.a3 {
  background: #7c3aed;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* --- Stats --- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stats strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--brand-700);
}

.stats span {
  font-size: 0.88rem;
  color: var(--ink-600);
}

/* --- Sections --- */

.section {
  padding: 64px 0;
}

.section.tinted {
  background: linear-gradient(180deg, var(--mint-50), #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--mint-100);
  border-radius: 999px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-600);
}

.split {
  display: grid;
  gap: 36px;
  align-items: center;
}

.split-visual {
  display: grid;
  justify-items: center;
}

.notebook {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Problem */

.pains {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pains li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.pains strong {
  display: block;
  margin-bottom: 2px;
}

.pains span span {
  color: var(--ink-600);
}

.pain-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.pain-icon svg {
  width: 22px;
  height: 22px;
}

/* Steps */

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step p {
  margin: 0;
  color: var(--ink-600);
}

.step-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 150px;
  margin-bottom: 18px;
  padding: 16px;
  background: var(--mint-50);
  border: 1px dashed var(--mint-200);
  border-radius: var(--radius);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: var(--brand-700);
  border-radius: 50%;
}

.chip-icon {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 10px;
  min-width: 72px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-800);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.chip-icon svg {
  width: 26px;
  height: 26px;
  color: var(--brand-600);
}

.chip-icon:nth-child(2) {
  transform: translateY(-8px);
}

.fields {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 230px;
  margin: 0;
}

.fields div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  font-size: 0.85rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.fields dt {
  color: var(--ink-500);
}

.fields dd {
  margin: 0;
  font-weight: 700;
}

.spark-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #9a6600;
  background: var(--amber-100);
  border-radius: 50%;
}

.spark-badge svg {
  width: 18px;
  height: 18px;
}

.ledger {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ledger li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.86rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.ledger b {
  margin-left: auto;
}

.ok {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--brand-600);
  border-radius: 50%;
}

.ok svg {
  width: 14px;
  height: 14px;
}

/* --- Features (bento) --- */

.bento {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 200px;
  padding: 22px 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(25, 179, 107, 0.12), transparent 55%),
    var(--mint-50);
  border-bottom: 1px solid var(--line);
}

.feature-body {
  padding: 20px 22px 24px;
}

.feature-body p {
  margin: 0;
  color: var(--ink-600);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--brand-700);
  background: var(--mint-100);
  border-radius: 12px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

/* Stock */

.stock-table {
  width: 100%;
  max-width: 340px;
  font-size: 0.86rem;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.stock-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.stock-table tr:last-child td {
  border-bottom: 0;
}

.stock-table td:first-child {
  font-weight: 600;
}

.stock-table td:nth-child(2) {
  width: 40%;
}

.stock-table td:last-child {
  text-align: right;
  font-weight: 700;
}

.bar {
  display: block;
  height: 8px;
  overflow: hidden;
  background: var(--mint-100);
  border-radius: 99px;
}

.bar span {
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
  border-radius: 99px;
}

.low .bar span {
  background: var(--coral-500);
}

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #a2321f;
  background: var(--coral-100);
  border-radius: 99px;
}

.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 340px;
}

.mini {
  max-width: 80%;
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 10px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.mini.out {
  align-self: flex-end;
  background: var(--bubble-out);
}

.mini.in {
  align-self: flex-start;
  background: #fff;
}

/* Debts */

.debts {
  width: 100%;
  max-width: 300px;
  margin: 0;
  padding: 6px;
  list-style: none;
  font-size: 0.88rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.debts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}

.debts li + li {
  border-top: 1px solid var(--line);
}

.debts b {
  margin-left: auto;
}

.debts-head {
  font-size: 0.8rem;
  color: #fff;
  background: var(--brand-800);
  border-radius: 11px;
}

.debts .paid b {
  color: var(--brand-600);
}

/* Voice */

.voice-note {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  padding: 10px 12px;
  background: var(--bubble-out);
  border-radius: 14px 4px 14px 14px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--brand-600);
  border-radius: 50%;
}

.play svg {
  width: 18px;
  height: 18px;
}

.wave {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 2px;
  height: 28px;
}

.wave i {
  flex: 1;
  height: var(--h);
  background: #7fa591;
  border-radius: 2px;
}

.wave i:nth-child(-n + 7) {
  background: var(--brand-700);
}

.dur {
  font-size: 0.72rem;
  color: var(--ink-500);
}

.transcript {
  margin: 0;
  font-size: 0.86rem;
  font-style: italic;
  color: var(--ink-700);
  text-align: center;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.langs span {
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-800);
  background: #fff;
  border: 1px solid var(--mint-200);
  border-radius: 99px;
}

/* Photos */

.photo-visual {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
}

.scan {
  position: relative;
  display: block;
  width: 110px;
  height: 138px;
  transform: rotate(-4deg);
}

.scan-invoice {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 14px rgba(6, 48, 31, 0.2));
}

.scan-line {
  position: absolute;
  left: -6px;
  right: -6px;
  top: 10%;
  height: 3px;
  background: var(--brand-500);
  border-radius: 3px;
  box-shadow: 0 0 12px 3px rgba(25, 179, 107, 0.55);
  animation: scan 2.8s ease-in-out infinite;
}

@keyframes scan {
  0%,
  100% {
    top: 8%;
  }
  50% {
    top: 88%;
  }
}

.confirm {
  max-width: 230px;
  padding: 10px 12px;
  font-size: 0.84rem;
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.confirm p {
  margin: 0 0 10px;
}

.confirm-actions {
  display: flex;
  gap: 8px;
}

.confirm-actions span {
  flex: 1;
  padding: 6px 0;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  border-radius: 99px;
}

.yes {
  color: #fff;
  background: var(--brand-700);
}

.no {
  color: var(--ink-700);
  background: #eef1ee;
}

/* Summary */

.notif {
  width: 100%;
  max-width: 340px;
  padding: 14px 16px;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.notif-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-600);
}

.notif-top svg {
  width: 20px;
  height: 20px;
}

.notif-time {
  margin-left: auto;
  font-weight: 500;
}

.notif-title {
  margin: 0 0 6px;
  font-weight: 800;
}

.notif ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-700);
}

.summary-visual {
  background:
    radial-gradient(circle at 80% 10%, rgba(246, 185, 59, 0.35), transparent 50%),
    linear-gradient(160deg, var(--brand-800), var(--brand-900));
}

/* --- Example --- */

.callouts {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.callouts li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}

.callouts svg {
  width: 22px;
  height: 22px;
  padding: 3px;
  color: #fff;
  background: var(--brand-600);
  border-radius: 50%;
}

.example {
  margin: 0;
}

.example figcaption {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--ink-500);
  text-align: center;
}

.example .screen {
  min-height: 520px;
}

/* --- Try it --- */

.section.try {
  padding: 24px 0 64px;
}

.try-card {
  display: grid;
  gap: 20px;
  padding: 32px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(246, 185, 59, 0.35), transparent 45%),
    linear-gradient(140deg, var(--brand-700), var(--brand-900));
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.try-card h2 {
  margin-bottom: 8px;
}

.try-card p {
  margin: 0;
  color: #d9efe2;
}

/* --- Technology --- */

.tech {
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(25, 179, 107, 0.25), transparent 40%),
    var(--brand-900);
}

.tech .eyebrow {
  color: var(--brand-900);
  background: var(--amber-400);
}

.tech .section-lead {
  color: #cfe5d8;
}

.models {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.model p {
  margin: 0;
  color: #cfe5d8;
}

.model-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--brand-900);
  background: var(--amber-400);
  border-radius: 12px;
}

.model-icon svg {
  width: 22px;
  height: 22px;
}

.repo {
  margin: 28px 0 0;
}

/* --- Footer --- */

.footer {
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--ink-600);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.footer .brand {
  font-size: 1.05rem;
}

.footer .brand-logo {
  width: 28px;
  height: 28px;
}

/* --- Reveal on scroll (only with JS) --- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Larger screens --- */

@media (min-width: 560px) {
  .header-cta {
    display: inline-flex !important;
  }

  .header-cta[hidden] {
    display: none !important;
  }

  .float {
    font-size: 0.84rem;
  }

  .float-b {
    display: flex;
  }
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 86px;
    right: -14px;
    z-index: 1;
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--brand-500);
    border-right: 3px solid var(--brand-500);
    transform: rotate(45deg);
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature.wide,
  .feature.full {
    grid-column: span 2;
  }

  .models {
    grid-template-columns: repeat(3, 1fr);
  }

  .try-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 44px;
  }

  .hero-visual {
    padding-top: 10px;
  }

  .float-a {
    top: 12%;
    right: auto;
    left: 6%;
  }

  .float-b {
    right: 4%;
  }

  .float-c {
    left: 8%;
  }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }

  .section {
    padding: 96px 0;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .split.reverse .split-copy {
    order: 2;
  }

  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature.wide {
    grid-column: span 2;
  }

  .feature.full {
    grid-column: span 3;
    flex-direction: row-reverse;
  }

  .feature.full .feature-visual {
    flex: 1;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .feature.full .feature-body {
    flex: 1;
    align-self: center;
    padding: 32px 40px;
  }

  .float-a {
    left: -2%;
  }

  .float-b {
    right: -2%;
  }

  .float-c {
    left: 2%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
