@charset "utf-8";

/* ==========================================================================
   ACCA — "What's new" landing page
   --------------------------------------------------------------------------
   Sections
     1.  Design tokens
     2.  Base / reset
     3.  Layout helpers
     4.  Icons
     5.  Header
     6.  Hero
     7.  Benefit strip
     8.  Intro
     9.  Feature rows
     10. Footer
     11. Responsive  (<=1000px, <=720px, <=380px, >=1450px)
     12. Preferences (reduced motion, print)
   ========================================================================== */


/* 1. Design tokens
   ========================================================================== */

:root {
  /* Brand */
  --ink:    #122b3c;
  --blue:   #225f91;
  --teal:   #217b74;
  --muted:  #56656f;
  --line:   #dbe5e9;

  /* Surfaces */
  --surface:        #ffffff;
  --surface-hero:   #fffbef;
  --surface-card-a: #f7fbfd;
  --surface-card-b: #f0f8f5;
  --surface-card-c: #fff8e9;
  --surface-ink:    #0c1c27;

  /* Lines & shadows */
  --line-soft:    #e1e9ed;
  --line-header:  #e9eef0;
  --focus:        #c57b23;
  --shadow-card:  0 10px 28px rgba(28, 73, 98, .06);
  --shadow-lift:  0 18px 36px rgba(28, 73, 98, .10);
  --shadow-shot:  0 18px 38px rgba(24, 58, 78, .12);

  /* Rhythm */
  --wrap:       1180px;
  --wrap-gutter: 64px;
  --radius-card: 24px;
}


/* 2. Base / reset
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img,
svg { max-width: 100%; }

img {
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


/* 3. Layout helpers
   ========================================================================== */

.wrap {
  width: min(var(--wrap), calc(100% - var(--wrap-gutter)));
  margin-inline: auto;
}

/* Visible only while focused, so keyboard users can jump past the header. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 10;
  padding: 16px;
  background: var(--surface);
  border-radius: 0 0 8px 0;
  font-weight: 700;
}

.skip-link:focus { top: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.pill {
  padding: 3px 7px;
  border-radius: 4px;
  background: #d9ebe5;
  font-size: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 19px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}

.button:hover {
  background: var(--blue);
  transform: translateY(-2px);
}


/* 4. Icons
   ==========================================================================
   Two icon systems share `.google-icon` sizing: inline SVG (benefit strip)
   and the Material Symbols web font (everywhere else). */

.material-symbols-rounded {
  display: inline-block;
  direction: ltr;
  font-family: "Material Symbols Rounded";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.google-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--teal);
  fill: currentColor;
  font-size: 24px;
  vertical-align: middle;
}


/* 5. Header
   ========================================================================== */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line-header);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  min-height: 102px;
}

.logo-link { display: inline-block; }

.logo {
  display: block;
  width: 218px;
  height: auto;
}


/* 6. Hero
   ========================================================================== */

.hero {
  padding: 68px 0 34px;
  background: var(--surface-hero);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  align-items: center;
  gap: 34px;
}

.hero .eyebrow {
  font-size: 12px;
  letter-spacing: .04em;
}

.hero-kicker { margin-bottom: 16px; }

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.05em;
}

/* Authored line breaks; they only hold at widths where they actually fit
   (see the media queries in section 11). */
.hero-title-line { display: block; }

.hero-subheading {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.hero-lede {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 29px 0 0;
}

.hero .button-icon { font-size: 18px; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-note-icon {
  color: var(--teal);
  font-size: 18px;
}

/* --- Hero artwork ------------------------------------------------------- */

.platform-art {
  position: relative;
  isolation: isolate;
  padding: 26px 14px 0 18px;
}

.platform-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2% 0 18% 2%;
  background: #c8e4fb;
  border-radius: 48% 52% 39% 61% / 44% 33% 67% 56%;
  transform: rotate(-7deg);
}

.platform-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d4e2ed;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 20px 35px rgba(47, 102, 132, .13);
  transform: rotate(-2deg);
}

.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #edf2f5;
  background: var(--surface);
  color: #385e7a;
  font-size: 11px;
  font-weight: 600;
}

.platform-dots {
  color: #60a4d5;
  font-size: 9px;
  letter-spacing: 3px;
}

.platform-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.platform-tag {
  position: absolute;
  top: 68%;
  left: -4px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(40, 92, 121, .08);
  font-size: 12px;
  line-height: 1.45;
  transform: translateY(-50%);
}

.hero-caption {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 16px 20px;
  border: 1px solid #e1e8e4;
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(25, 56, 73, .04);
}

.hero-caption-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-caption strong {
  display: block;
  font-size: 13px;
}

.hero-caption small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

/* Circular icon badges */
.platform-check,
.plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
  text-align: center;
}

.platform-check {
  width: 28px;
  height: 28px;
  background: #e1f1e7;
  color: #397355;
  font-size: 18px;
  font-weight: 700;
}

.plus {
  width: 34px;
  height: 34px;
  background: #e2f0eb;
  color: var(--teal);
  font-size: 20px;
}


/* 7. Benefit strip
   ========================================================================== */

.benefit-strip {
  position: relative;
  z-index: 3;
  margin-top: -18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(18, 43, 60, .035);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 27px 0 29px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}

.benefit:last-child { border-right: 0; }

.benefit .google-icon {
  width: 30px;
  height: 30px;
  color: var(--blue);
  font-size: 30px;
}

.benefit > span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.benefit b {
  margin-right: 6px;
  color: var(--ink);
  font-size: 17px;
}


/* 8. Intro
   ========================================================================== */

.intro {
  padding: 80px 0 40px;
  text-align: center;
}

.intro .eyebrow { justify-content: center; }

.intro h2 {
  margin: 15px 0 20px;
  font-size: clamp(26px, 3.8vw, 37px);
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.intro-lede {
  max-width: 550px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}


/* 9. Feature rows
   ========================================================================== */

.feature-showcase {
  padding: 42px 0 110px;
  background: var(--surface);
}

.feature-mosaic {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface-card-a);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.feature-card:nth-child(4n + 2) { background: var(--surface-card-b); }
.feature-card:nth-child(4n + 3) { background: var(--surface-card-c); }

/* Copy left / screenshot right — reversed on `.card-reverse`. */
.feature-row {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  width: 100%;
  min-height: 390px;
}

.feature-row.card-reverse { grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); }

.feature-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 42px 40px 36px;
}

.feature-card-visual {
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  margin: 0;
  padding: 26px 26px 26px 0;
}

.feature-row.card-reverse .feature-card-visual {
  order: 1;
  padding: 26px 0 26px 26px;
}

.feature-row.card-reverse .feature-card-copy { order: 2; }

.feature-label {
  justify-content: flex-start;
  margin-bottom: 12px;
  gap: 9px;
}

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

.feature-card h2 {
  max-width: 15ch;
  margin: 0 0 14px;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.feature-lede {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* Authored two-line headings; released to wrap at narrow widths. */
.title-line { display: inline-block; }

.feature-points {
  display: grid;
  gap: 12px;
  max-width: 100%;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: 14px;
}

.feature-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #dce7eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 8px rgba(18, 43, 60, .025);
  line-height: 1.35;
}

.point-icon {
  flex: none;
  color: var(--teal);
  font-size: 18px;
}

.pdf-screen {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(18, 43, 60, .10);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-shot);
  object-fit: contain;
  object-position: center;
}


/* 10. Footer
   ========================================================================== */

.simple-footer {
  padding: 0;
  background: var(--surface-ink);
  color: #d5dfe5;
}

.simple-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  font-size: 13px;
}

.simple-footer-inner span:last-child { color: #a9dcd5; }


/* 11. Responsive
   ========================================================================== */

@media (min-width: 1450px) {
  .hero { padding-top: 85px; }
}

/* Keep the authored hero line breaks only while the copy column is wide
   enough to hold the longest line without clipping. */
@media (min-width: 1001px) {
  .hero-title-line { white-space: nowrap; }
}

@media (min-width: 1200px) {
  .feature-card h2 .title-line { white-space: nowrap; }
}

@media (max-width: 1000px) {
  :root { --wrap-gutter: 48px; }

  /* Hero */
  .hero-grid { gap: 20px; }
  .hero h1 { font-size: clamp(34px, 5.4vw, 54px); }
  .platform-art { padding: 18px 8px 0; }
  .platform-tag {
    left: -8px;
    padding: 8px 10px;
    font-size: 11px;
  }
  .hero-caption { padding: 12px; }

  /* Feature rows stack: copy first, screenshot below. */
  .feature-mosaic { gap: 38px; }
  .feature-row,
  .feature-row.card-reverse {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .feature-card-copy,
  .feature-row.card-reverse .feature-card-copy {
    order: 1;
    padding: 30px 26px 18px;
  }
  .feature-card-visual,
  .feature-row.card-reverse .feature-card-visual {
    order: 2;
    margin-top: auto;
    padding: 0 18px 18px;
  }
  .feature-card h2 { max-width: 20ch; }
  .feature-lede { max-width: none; }
  .feature-points { margin-top: 26px; }
}

@media (max-width: 720px) {
  :root { --wrap-gutter: 40px; }

  /* Header */
  .nav { min-height: 85px; }
  .logo { width: 210px; }

  /* Hero */
  .hero { padding: 40px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .eyebrow { font-size: 11px; }
  .hero-kicker { margin-bottom: 12px; }
  /* Sized so the three authored title lines each still fit on one line
     down to a 320px viewport. */
  .hero h1 {
    font-size: clamp(30px, 9.5vw, 42px);
    margin-bottom: 14px;
  }
  .hero-subheading {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .hero-lede { font-size: 18px; }
  .actions { gap: 10px; }
  .button {
    padding: 12px 15px;
    font-size: 13px;
  }
  .platform-art {
    width: 100%;
    max-width: 480px;
    margin: 20px auto 0;
    padding: 20px 12px 0;
  }
  .platform-tag { left: 0; }
  .hero-caption { margin-top: 22px; }

  /* Benefit strip stacks into rows */
  .benefit-strip { margin-top: -10px; }
  .benefit-list {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }
  .benefit {
    padding: 18px 0;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .benefit:first-child { padding-top: 0; }
  .benefit:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .benefit > span { font-size: 15px; }

  /* Intro */
  .intro { padding: 55px 0 24px; }
  .intro-lede { font-size: 17px; }

  /* Feature rows */
  .feature-showcase { padding: 28px 0 72px; }
  .feature-mosaic { gap: 24px; }
  .feature-card-copy,
  .feature-row.card-reverse .feature-card-copy { padding: 24px 20px 14px; }
  .feature-card-visual,
  .feature-row.card-reverse .feature-card-visual { padding: 0 10px 10px; }
  .feature-card h2 {
    max-width: none;
    font-size: 30px;
  }
  .feature-lede {
    font-size: 15px;
    line-height: 1.55;
  }
  .feature-points {
    margin-top: 20px;
    gap: 9px;
    font-size: 13px;
  }
  .feature-points li {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 18px;
  }

  /* Footer */
  .simple-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-height: 86px;
    padding: 16px 0;
  }
}

@media (max-width: 380px) {
  .hero .eyebrow { font-size: 10px; }
  .hero-caption { padding: 12px 10px; }
  .hero-caption strong { font-size: 12px; }
  .hero-caption small { font-size: 11px; }
}


/* 12. Preferences
   ========================================================================== */

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

  .button,
  .feature-card { transition: none; }

  .button:hover,
  .feature-card:hover { transform: none; }
}

@media print {
  .skip-link,
  .platform-art::before { display: none; }

  body { font-size: 12pt; }

  .hero,
  .feature-card { background: #fff; }

  .feature-card,
  .feature-row { break-inside: avoid; }
}
