/* Petalo marketing site — built to the OFFICIAL BRAND GUIDE.
   Solar Coral primary, Champagne/Ivory/Peach/Taupe palette, signature
   gradient, Aptos clean-sans (NO serif). See memory: brand-guidelines. */

:root {
  /* ── Brand colors (exact) ── */
  --champagne: #F7F3EE;   /* canvas */
  --ivory:     #EFD9B5;   /* warm sand accent */
  --coral:     #FF8754;   /* primary */
  --peach:     #F6C8A1;   /* soft accent */
  --taupe:     #9D8E86;   /* muted neutral */

  /* ── Derived working tokens ── */
  --bg:           #F7F3EE;
  --surface:      #FFFFFF;
  --surface-alt:  #FBF7F1;
  --peach-bubble: #FCEBDB;   /* pale peach for icon circles */
  --coral-deep:   #F26A33;   /* gradient end / hover */
  --border:       #ECE2D4;
  --border-light: #F3EBDE;

  --text:        #2B2825;    /* near-black warm — headlines/body */
  --text-muted:  #6F665E;    /* readable secondary */
  --text-light:  #9D8E86;    /* Executive Taupe */

  --ink:         #2C2925;    /* dark surfaces (footer, executive card) */

  /* Signature gradient */
  --gradient: linear-gradient(90deg, #F6C8A1 0%, #FF8754 55%, #F26A33 100%);

  /* Elevations — soft + warm */
  --shadow-sm:  0 1px 2px rgba(74, 63, 53, 0.04);
  --shadow:     0 2px 10px rgba(74, 63, 53, 0.05), 0 1px 2px rgba(74, 63, 53, 0.04);
  --shadow-md:  0 6px 18px rgba(74, 63, 53, 0.07), 0 2px 5px rgba(74, 63, 53, 0.04);
  --shadow-lg:  0 14px 36px rgba(74, 63, 53, 0.10), 0 5px 12px rgba(74, 63, 53, 0.05);
  --shadow-coral: 0 6px 18px rgba(255, 135, 84, 0.28);

  /* Radius — softer/rounder per brand board */
  --radius-sm: 9px;
  --radius:    14px;
  --radius-lg: 20px;

  /* Type — Aptos clean sans, no serif. Aptos isn't a Google Font, so
     Windows/Office users get Aptos; everyone else gets Inter. */
  --font-sans: 'Aptos Display', 'Aptos', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

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

/* ── Type scale (from brand board: H1 42/48, H2 28/36, H3 20/28, body 14/20) ── */
h1, h2, h3 { font-family: var(--font-sans); letter-spacing: -0.02em; color: var(--text); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--coral);
}
.section-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 7px;
  margin-bottom: 20px;
  display: inline-block;
}
.section-header::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}
.section-title {
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.14;
  max-width: 20ch;
}
.section-lede {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.6;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  text-decoration: none; border-radius: 999px; padding: 12px 24px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s, color 0.15s;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); border-color: var(--taupe); }

/* ── Icon bubbles (coral line icon in pale-peach circle) ── */
.bubble {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--peach-bubble); color: var(--coral); flex: none;
}
.bubble svg { width: 24px; height: 24px; }
.bubble-sm { width: 44px; height: 44px; }
.bubble-sm svg { width: 21px; height: 21px; }
svg { stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 238, 0.84);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 23px; letter-spacing: -0.02em; color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 15px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary { color: #fff; }

/* ── Hero ── */
.hero { padding: 100px 0 80px; text-align: center;
  background: radial-gradient(1100px 480px at 50% -10%, #FDEBDD, transparent 70%); }
.hero .eyebrow { margin-bottom: 22px; }
.hero-title { font-weight: 700; font-size: clamp(38px, 5.6vw, 60px); line-height: 1.05; }
.hero-title .accent { color: var(--coral); }
.hero-sub { margin: 26px auto 0; max-width: 60ch; font-size: clamp(17px, 2vw, 21px); color: var(--text-muted); line-height: 1.55; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-foot { margin-top: 26px; font-size: 14px; color: var(--text-light); }
.hero-rule { margin: 44px auto 0; width: 220px; height: 4px; border-radius: 2px; background: var(--gradient); opacity: 0.9; }

/* ── Attributes strip ── */
.attrs { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.attrs-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 30px 0; }
.attr { display: flex; align-items: center; gap: 12px; }
.attr-label { font-size: 15px; font-weight: 600; color: var(--text); }

/* ── Sections ── */
section { padding: 88px 0; }
.loop { background: var(--surface-alt); border-bottom: 1px solid var(--border); }

/* ── Operating loop ── */
.loop-steps { margin-top: 46px; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.loop-step { padding: 26px 20px; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.loop-step .bubble { margin-bottom: 16px; }
.loop-step h3 { font-weight: 700; font-size: 20px; }
.loop-step .step-tag { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--coral); }
.loop-step p { margin-top: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ── Who ── */
.who-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.who-meta { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.who-pill { font-size: 13px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; }
.who-list { margin-top: 24px; list-style: none; display: grid; gap: 12px; }
.who-list li { position: relative; padding-left: 28px; font-size: 16px; color: var(--text); }
.who-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.who-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-lg); }
.who-card-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--peach); margin-bottom: 18px; }
.who-card-q { font-weight: 700; font-size: 27px; line-height: 1.2; color: #fff; letter-spacing: -0.02em; }
.who-card-note { margin-top: 20px; font-size: 15px; color: #C9BEB4; }

/* ── Cards ── */
.cards { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .bubble { margin-bottom: 18px; }
.card h3 { font-weight: 700; font-size: 20px; }
.card p { margin-top: 12px; font-size: 15px; color: var(--text-muted); line-height: 1.55; }

/* ── Why / voice ── */
.why { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.why-item h3 { font-weight: 700; font-size: 19px; }
.why-item p { margin-top: 10px; font-size: 15px; color: var(--text-muted); line-height: 1.55; }
.why-item em { color: var(--text); font-style: normal; font-weight: 600; }
.voice-line { margin-top: 34px; text-align: center; }
.voice-line span { font-weight: 700; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; }
.voice-line .g { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Pricing ── */
.pricing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pricing .section-title, .pricing .section-lede { max-width: 56ch; margin-left: auto; margin-right: auto; }
.pricing .btn { margin-top: 32px; }

/* ── CTA band ── */
.cta-band { background: var(--gradient); }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cta-title { font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.14; max-width: 22ch; color: #fff; letter-spacing: -0.02em; }
.cta-band .btn-primary { background: #fff; color: var(--coral-deep); box-shadow: 0 8px 22px rgba(74,63,53,0.18); }
.cta-band .btn-primary:hover { background: var(--champagne); }

/* ── Footer ── */
.footer { background: var(--ink); color: #C9BEB4; padding: 50px 0 30px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-name { color: #fff; }
.footer-tag { font-size: 15px; color: #C9BEB4; max-width: 46ch; }
.footer-mail { color: var(--coral); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer-mail:hover { text-decoration: underline; }
.footer-legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.10); text-align: center; font-size: 13px; color: #9D8E86; }

/* ── Product showcase ── */
.showcase { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.showcase-head { text-align: center; max-width: 760px; margin: 0 auto; }
.showcase-head .section-header { margin-left: auto; margin-right: auto; display: table; }
.showcase-head .section-title { margin: 0 auto; max-width: 24ch; }
.showcase-head .section-lede { margin-left: auto; margin-right: auto; text-align: center; }

/* Browser-frame mockup */
.browser { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #F1E8DD; border-bottom: 1px solid var(--border); }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #D8CCC0; display: block; }
.browser-url { font-size: 12px; color: var(--text-light); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px 16px; }

/* Crossfade slideshow */
.stage { max-width: 1000px; margin: 44px auto 0; }
.slides { position: relative; aspect-ratio: 16 / 10; background: var(--bg); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity 0.7s ease; }
.slides img.active { opacity: 1; }
.slide-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.slide-tab { font-size: 13px; font-weight: 600; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 17px; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; font-family: inherit; }
.slide-tab:hover { color: var(--text); }
.slide-tab.active { color: #fff; background: var(--coral); border-color: var(--coral); }

/* Feature + screenshot rows */
.shots { margin-top: 8px; }
.shot-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; padding: 46px 0; }
.shot-row + .shot-row { border-top: 1px solid var(--border-light); }
.shot-row.reverse .shot-media { order: 2; }
.shot-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.shot-copy h3 { font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.shot-copy p { margin-top: 14px; font-size: 17px; color: var(--text-muted); line-height: 1.6; }
.shot-media .browser { box-shadow: var(--shadow-md); }
.shot-media .browser-body { aspect-ratio: 16 / 10; overflow: hidden; }
.shot-media .browser-body img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .shot-row { grid-template-columns: 1fr; gap: 28px; }
  .shot-row.reverse .shot-media { order: 0; }
  .who-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .loop-steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .attrs-inner { justify-content: center; gap: 26px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 52px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .loop-steps { grid-template-columns: 1fr; }
}
