/* doteo.ai home page: the sections under the hero, pricing, close, footer. */

/* One continuous line runs down the page; each section is a stop on it. */
.journey { position: relative; }
.journey::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: max(calc(var(--gutter) + 6px), calc((100% - var(--max)) / 2 + var(--gutter) + 6px));
  width: 1px;
  background: linear-gradient(rgba(48, 75, 106, .6), rgba(48, 75, 106, .6)) no-repeat 0 0 / 1px var(--drawn, 100%), rgba(48, 75, 106, .2);
  /* The line fades out at the close instead of running into the footer. */
  -webkit-mask-image: linear-gradient(#000 calc(100% - 420px), transparent calc(100% - 160px));
  mask-image: linear-gradient(#000 calc(100% - 420px), transparent calc(100% - 160px));
}
.stop { position: relative; padding-top: clamp(64px, 11vh, 128px); }
.stop > .wrap { padding-left: calc(var(--gutter) + 44px); }
.stop > .wrap { position: relative; }
.stop > .wrap::before {
  content: ""; position: absolute; left: calc(var(--gutter) + 1px); top: clamp(13px, 1.5vw, 22px);
  width: 11px; height: 11px; border-radius: 50%; background: var(--canvas);
  border: 1.5px solid var(--brand); box-shadow: 0 0 0 5px var(--canvas);
}
.stop h2 { position: relative; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.032em; }
.stop .intro { margin-top: 18px; font-size: 19px; line-height: 1.5; max-width: 46ch; }

/* ---------- caption tiles: a cut-out of the app on a soft panel, a caption below ---------- */
.tile { margin: 0; display: flex; flex-direction: column; }
.panel {
  position: relative; border-radius: 24px; overflow: hidden; flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 2vw, 30px); min-height: 220px;
}
.panel.wash { background: var(--brand-wash); }
.panel.warm { background: var(--bronze-wash); }
.panel.sunk { background: var(--sunken); }
.panel.tall { min-height: 300px; }
.panel img {
  width: 100%; max-width: 440px; height: auto;
  filter: drop-shadow(0 18px 28px rgba(13, 27, 40, .13)) drop-shadow(0 2px 4px rgba(13, 27, 40, .06));
  transition: transform .6s var(--ease-out);
}
.tile:hover .panel img { transform: translateY(-4px); }
.tile figcaption { margin-top: 16px; font-size: 16px; line-height: 1.5; max-width: 46ch; text-wrap: pretty; }
li { text-wrap: pretty; }
.tile figcaption b { color: var(--ink-900); font-weight: 600; }

/* Kinds of note: an uneven grid, meeting minutes widest */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(32px, 5vh, 52px); row-gap: clamp(28px, 3vw, 40px); }
.bento .span-3 { grid-column: span 3; }
.bento .span-2 { grid-column: span 2; }
.bento .span-3 .panel img { max-width: 520px; }
.listen {
  margin-top: clamp(32px, 5vh, 52px); display: grid; grid-template-columns: 48px minmax(0, 46ch) minmax(0, 160px);
  gap: 18px; align-items: center; padding: 18px 22px; background: var(--raised); border-radius: 18px;
  box-shadow: var(--shadow); max-width: 820px;
}
.listen p { font-size: 16px; line-height: 1.45; }
.listen b { color: var(--ink-900); font-weight: 600; }
.listen-icon { width: 48px; height: 48px; }
/* An illustration, not a control: a speaker on a soft wash, so it never reads as a play button. */
.listen-icon circle { fill: var(--brand-wash); }
.listen-icon .spk { fill: var(--brand); }
.listen-icon .arc { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; }
.listen-wave { width: 100%; height: 32px; }
.listen-wave path { stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; fill: none; opacity: .7; }

/* Find and Act share one split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: start; margin-top: 8px; }
.split.flip .tile { order: -1; }
.split .tile { margin-top: 12px; }
.asks { margin-top: 30px; display: grid; gap: 6px; font-size: 17px; color: var(--ink-900); }
.asks .k { font-size: 13px; font-weight: 600; color: var(--ink-500); margin-bottom: 2px; }
.asks q { quotes: '\201C' '\201D'; }
.pro { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-wash); border-radius: 999px; padding: 2px 9px; vertical-align: 3px; margin-left: 6px; }
.insights { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 16px; max-width: 48ch; }
.insights b { color: var(--ink-900); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; margin-top: clamp(32px, 5vh, 52px); max-width: 980px; }
.plan { background: var(--raised); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 30px 30px; display: flex; flex-direction: column; }
.plan.trial { background: transparent; box-shadow: inset 0 0 0 1px var(--hairline); }
.plan h3 { font-size: 22px; letter-spacing: -.02em; }
.price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; color: var(--ink-900); }
.price strong { font-size: 52px; line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.price span { font-size: 16px; color: var(--ink-500); }
.billed { margin-top: 6px; font-size: 14px; color: var(--ink-500); min-height: 1.45em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 16px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before {
  content: ""; width: 16px; height: 16px; margin-top: 4px; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.period { display: inline-flex; background: var(--sunken); border-radius: 12px; padding: 4px; margin-top: 14px; align-self: flex-start; }
.period button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-700); background: none; border: 0;
  padding: 10px 16px; min-height: 44px; border-radius: 9px; cursor: pointer; transition: background .25s, color .25s;
}
.period button[aria-pressed="true"] { background: var(--raised); color: var(--ink-900); box-shadow: 0 1px 2px rgba(13,27,40,.12); }
/* Free is a fallback, not a tier to weigh up: one line under the two plans. */
.after { margin-top: 20px; font-size: 16px; max-width: 66ch; }
.after b { color: var(--ink-900); font-weight: 600; }
.save { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--bronze); background: var(--bronze-wash); border-radius: 999px; padding: 1px 7px; vertical-align: 1px; }
.plans-cta { margin-top: 28px; }
.fine { margin-top: 18px; font-size: 13px; color: var(--ink-500); max-width: 72ch; }

/* ---------- privacy + close ---------- */
.yours { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); margin-top: 8px; }
.yours p + p { margin-top: 14px; }
.close { text-align: left; padding-top: clamp(80px, 14vh, 160px); padding-bottom: clamp(72px, 12vh, 140px); }
.close h2 { font-size: clamp(44px, 6.4vw, 96px); line-height: .96; letter-spacing: -.04em; max-width: 24ch; }
.close > .wrap::before { display: none; }
.close .badges { margin-top: 34px; }

/* The hairline spans the content column, not the gutters. */
.foot::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--hairline); }
.foot { position: relative; padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink-500); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot nav a { display: inline-block; padding: 11px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento .span-2 { grid-column: span 3; }
  .bento .span-2:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .lede { max-width: 40ch; }
  .split, .yours, .plans { grid-template-columns: minmax(0, 1fr); }
  .listen { grid-template-columns: 44px minmax(0, 1fr); }
  .listen-wave { display: none; }
  .split.flip .tile { order: 0; }
  .split { gap: 28px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top nav a { padding: 12px 8px; font-size: 14px; }
  .hide-sm { display: none; }
  .said { font-size: 20px; }
  .hero { padding-top: 4px; gap: 24px; }
  .hero h1 { font-size: 42px; }
  .hero .lede { margin: 16px 0 22px; }
  .hero .where { display: none; }
  .note { margin-top: 20px; }
  .slots { grid-template-columns: minmax(0, 1fr); }
  .slot, .slot + .slot { padding: 12px 0; border-left: 0; }
  .slot + .slot { border-top: 1px solid var(--sunken); }
  .stop { padding-top: 64px; }
  .stop .intro { font-size: 17px; }
  .journey::before { left: calc(var(--gutter) + 5px); }
  .stop > .wrap { padding-left: calc(var(--gutter) + 30px); }
  .stop > .wrap::before { left: calc(var(--gutter)); top: 10px; }
  .bento .span-3, .bento .span-2, .bento .span-2:last-child { grid-column: 1 / -1; }
  .panel, .panel.tall { min-height: 0; padding: 22px; }
  .badges img { height: 48px; }
  .price strong { font-size: 44px; }
  .plan { padding: 24px 22px; }
}
