/* Sheetify home page. One stylesheet, no theme or page-builder styles. */
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/inter-tight-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #17382a;
  --deep: #0b3d24;
  --green: #146c3e;
  --leaf: #25713e;
  --mint: #c4f2ce;
  --pale: #effff6;
  --muted: #486555;
  --line: #d6e6db;
  --lime: #22c55e;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--pale); color: var(--ink); font: 400 18px/1.6 "Inter Tight", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(34px, 4.4vw, 60px); }
p { margin: 0; }
.sf-skip { position: absolute; left: -999px; top: 8px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; z-index: 20; }
.sf-skip:focus { left: 8px; }

/* ---------- header ---------- */
.sf-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px max(24px, calc((100vw - var(--wrap)) / 2)); background: rgba(239, 255, 246, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(23, 56, 42, 0.06); }
.sf-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.sf-logo img { width: 36px; height: 36px; border-radius: 9px; }
.sf-top nav { display: flex; gap: 30px; margin-left: auto; }
.sf-top nav a { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--muted); }
.sf-top nav a:hover { color: var(--ink); }
.sf-btn { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: 16px; font-weight: 600; transition: background 160ms ease, transform 160ms ease; }
.sf-btn:hover { background: var(--green); transform: translateY(-1px); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 6px; }

/* ---------- hero ---------- */
.sf-hero { padding: 48px max(24px, calc((100vw - var(--wrap)) / 2)) 72px; background: radial-gradient(80% 90% at 78% 40%, #b4efc3, rgba(180, 239, 195, 0) 70%), var(--pale); overflow: hidden; }
.sf-hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; }
.sf-hero h1 { font-size: clamp(54px, 7.6vw, 112px); line-height: 0.96; letter-spacing: -0.05em; }
.sf-hero h1 span { color: var(--leaf); }
.sf-hero-description { max-width: 470px; margin: 30px 0 34px; font-size: 22px; line-height: 1.5; color: var(--muted); }
.sf-store-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sf-store-links a { display: block; border-radius: 8px; transition: transform 180ms ease; }
.sf-store-links a:hover { transform: translateY(-3px); }
.sf-store-links img { display: block; width: auto; height: 52px; }
.sf-qr { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .sf-qr { display: block; margin-left: 10px; padding: 7px; background: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(23, 56, 42, 0.1); }
  .sf-store-links .sf-qr img { width: 62px; height: 62px; }
}
.sf-demo { width: 100%; min-width: 0; margin: 0; scroll-margin-top: 110px; }
.sf-demo-player { position: relative; width: min(100%, 340px, calc((100vh - 230px) * 0.4615)); margin: auto; overflow: hidden; border-radius: 34px; background: #0b3d24; box-shadow: 0 50px 90px -30px rgba(11, 61, 36, 0.55), 0 0 0 9px #0c1a12, 0 0 0 10px rgba(255, 255, 255, 0.18); transform: rotate(2.2deg); transition: transform 500ms cubic-bezier(.2, .8, .2, 1); }
.sf-demo-player:hover, .sf-demo-player:focus-within { transform: rotate(0deg); }
.sf-demo video { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1560; background: #0b3d24; }
.sf-demo .sf-demo-play { position: absolute; left: 50%; top: 57%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; width: max-content; max-width: 90%; padding: 16px 24px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 40px; background: var(--ink); color: #fff; box-shadow: 0 8px 30px rgba(11, 61, 36, 0.5); font: 600 17px/1.4 "Inter Tight", Arial, sans-serif; cursor: pointer; }
.sf-demo .sf-demo-play:hover { background: var(--green); }
.sf-demo-play span { display: flex; align-items: center; }
.sf-demo .sf-demo-sound { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 30px; background: var(--ink); color: #fff; font: 600 12px/1.4 "Inter Tight", Arial, sans-serif; cursor: pointer; }
.sf-demo [hidden] { display: none !important; }
.sf-demo-error { margin: 14px auto 0; max-width: 350px; font-size: 13px; text-align: center; }

/* ---------- how it works ---------- */
.sf-how { padding: 110px max(24px, calc((100vw - var(--wrap)) / 2)) 40px; }
.sf-how h2 { max-width: 760px; }
.sf-more { display: inline-block; margin-top: 18px; font-size: 19px; font-weight: 600; color: var(--green); text-underline-offset: 5px; }
.sf-more:hover { color: var(--ink); }
.sf-steps { list-style: none; margin: 0; padding: 0; }
.sf-steps li { cursor: default; }
.sf-clip { position: relative; overflow: hidden; border-radius: 28px; background: #0b3d24; box-shadow: 0 30px 60px -28px rgba(11, 61, 36, 0.5); transition: transform 500ms cubic-bezier(.2, .8, .2, 1), box-shadow 500ms ease; }
.sf-clip video { display: block; width: 100%; height: auto; aspect-ratio: 554 / 1000; object-fit: cover; }
.sf-rest { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 350ms ease; pointer-events: none; }
.sf-steps b { display: flex; align-items: center; gap: 12px; font-size: 26px; line-height: 1.2; letter-spacing: -0.03em; }
.sf-steps b::before { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 16px; letter-spacing: 0; transition: background 300ms ease, color 300ms ease; }
.sf-steps li:nth-child(1) b::before { content: "1"; }
.sf-steps li:nth-child(2) b::before { content: "2"; }
.sf-steps li:nth-child(3) b::before { content: "3"; }
.sf-steps.is-seq li.is-on b::before { background: var(--lime); color: #05301b; }
.sf-steps p { margin: 4px 0 0 46px; font-size: 17px; line-height: 1.5; color: var(--muted); }

/* Wide screens: the three clips overlap in a fan beside the heading and the step list, step one on top. Pointing at a clip or its step brings that clip forward, upright, and plays it. */
@media not all and (max-width: 860px) {
  .sf-how { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); grid-template-rows: 1fr repeat(5, auto) 1fr; column-gap: clamp(32px, 5vw, 56px); padding-top: 96px; }
  .sf-how h2 { grid-area: 2 / 2; margin-bottom: 22px; }
  .sf-more { grid-area: 6 / 2; justify-self: start; margin-top: 16px; }
  .sf-steps, .sf-steps li { display: contents; }
  .sf-steps.is-seq .sf-clip, .sf-steps.is-seq .sf-step-text { cursor: pointer; }
  .sf-steps.is-seq li:not(.is-on) .sf-rest { opacity: 1; }
  .sf-clip { grid-area: 1 / 1 / -1 / 2; place-self: center; width: min(240px, 40%); margin: 52px 0; border-radius: 26px; box-shadow: 0 34px 60px -26px rgba(11, 61, 36, 0.55), 0 0 0 1px rgba(11, 61, 36, 0.08); }
  .sf-steps li:nth-child(1) .sf-clip { transform: translate(-64%, -1%) rotate(-7deg); z-index: 2; }
  .sf-steps li:nth-child(2) .sf-clip { transform: translate(0, 0) rotate(0.5deg); z-index: 1; }
  .sf-steps li:nth-child(3) .sf-clip { transform: translate(64%, 3%) rotate(7deg); z-index: 0; }
  .sf-steps li:nth-child(1).is-on .sf-clip { transform: translate(-64%, -1%) scale(1.2); }
  .sf-steps li:nth-child(2).is-on .sf-clip { transform: translate(0, 0) scale(1.2); }
  .sf-steps li:nth-child(3).is-on .sf-clip { transform: translate(64%, 0) scale(1.2); }
  .sf-steps li.is-on .sf-clip { z-index: 3; box-shadow: 0 50px 80px -30px rgba(11, 61, 36, 0.7), 0 0 0 1px rgba(11, 61, 36, 0.08); }
  /* During the automatic run the card in front steps back for 140 ms before the next one comes forward (HAND_OVER in home.js). */
  .sf-steps.is-run li.is-on .sf-clip { transition: transform 500ms cubic-bezier(.2, .8, .2, 1) 140ms, box-shadow 500ms ease 140ms, z-index 0s linear 140ms; }
  .sf-steps.is-run li.is-on .sf-rest { transition-delay: 140ms; }
  .sf-step-text { grid-column: 2; margin: 0 -18px 4px; padding: 14px 18px 16px; border-radius: 20px; transition: background 300ms ease, box-shadow 300ms ease; }
  .sf-steps li:nth-child(1) .sf-step-text { grid-row: 3; }
  .sf-steps li:nth-child(2) .sf-step-text { grid-row: 4; }
  .sf-steps li:nth-child(3) .sf-step-text { grid-row: 5; }
  .sf-steps li.is-on .sf-step-text { background: #fff; box-shadow: 0 1px 0 rgba(23, 56, 42, 0.06), 0 22px 44px -30px rgba(11, 61, 36, 0.4); }
}

/* ---------- the sheet ---------- */
.sf-sheet { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; margin: 90px auto 0; padding: 96px max(24px, calc((100vw - var(--wrap)) / 2)); background: radial-gradient(120% 90% at 50% 30%, #17734a, #0b3d24 58%, #06281a); color: #fff; }
.sf-sheet em { font-style: normal; color: #86efac; }
.sf-sheet-copy p { margin-top: 24px; color: rgba(255, 255, 255, 0.82); }
.sf-sheet-copy ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.sf-sheet-copy li { position: relative; padding-left: 34px; color: #fff; }
.sf-sheet-copy li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: #a7f3d0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%230b3d24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.sf-sheet-card { min-width: 0; border-radius: 24px; overflow: hidden; background: #fff; color: #202124; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); transform: rotate(-1.2deg); transition: transform 500ms cubic-bezier(.2, .8, .2, 1); }
.sf-sheet-card:hover { transform: rotate(0deg) scale(1.01); }
.sf-sheet-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 2px solid #dadce0; }
.sf-sheet-head i { position: relative; width: 44px; height: 44px; border-radius: 11px; background: var(--green); }
.sf-sheet-head i::before { content: ""; position: absolute; inset: 10px; border: 3px solid #fff; border-radius: 4px; background: linear-gradient(#fff, #fff) 50% 50% / 100% 3px no-repeat, linear-gradient(#fff, #fff) 50% 50% / 3px 100% no-repeat; }
.sf-sheet-head b { display: block; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; }
.sf-sheet-head span { font-size: 13px; color: #5f6368; }
.sf-sheet-scroll { overflow-x: auto; }
.sf-sheet table { border-collapse: collapse; width: 100%; min-width: 900px; font-size: 15px; white-space: nowrap; }
.sf-sheet th, .sf-sheet td { padding: 12px 12px; border: 1px solid #dadce0; text-align: left; font-weight: 450; }
.sf-sheet tr.letters th, .sf-sheet th[scope="row"] { background: #f1f3f4; color: #5f6368; font-size: 12px; font-weight: 600; text-align: center; }
.sf-sheet th[scope="row"] { width: 38px; }
.sf-sheet th[scope="col"] { background: #e8f5e9; color: var(--deep); font-weight: 700; border-bottom: 3px solid var(--green); }
.sf-sheet td.n { text-align: right; font-variant-numeric: tabular-nums; }
.sf-sheet td.lnk { color: #1a73e8; }
.sf-sheet tr.new td { background: #dcfce7; box-shadow: inset 0 2px 0 var(--lime), inset 0 -2px 0 var(--lime); }
.sf-sheet tr.new th[scope="row"] { background: var(--green); color: #fff; }

/* ---------- the app ---------- */
.sf-app { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; max-width: 1000px; margin: 0 auto; padding: 110px 24px; }
.sf-phone { overflow: hidden; border-radius: 34px; background: #fafbf6; box-shadow: 0 50px 90px -34px rgba(11, 61, 36, 0.55), 0 0 0 9px #0c1a12, 0 0 0 10px rgba(255, 255, 255, 0.18); transform: rotate(-2.2deg); transition: transform 500ms cubic-bezier(.2, .8, .2, 1); }
.sf-phone:hover { transform: rotate(0deg) scale(1.02); }
.sf-phone img { display: block; width: 100%; height: auto; }
.sf-app p { margin-top: 22px; max-width: 460px; color: var(--muted); font-size: 20px; }

/* ---------- voices ---------- */
.sf-voices { padding: 20px max(24px, calc((100vw - var(--wrap)) / 2)) 110px; }
.sf-voices-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sf-arrows { display: flex; gap: 10px; }
.sf-arrows[hidden] { display: none; }
.sf-arrows button { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; transition: background 160ms ease, opacity 160ms ease; }
.sf-arrows button:hover { background: var(--green); }
.sf-arrows button:disabled { opacity: 0.25; cursor: default; }
.sf-quotes { display: flex; gap: 24px; margin-top: 44px; padding: 4px 4px 40px; margin-bottom: -40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sf-quotes::-webkit-scrollbar { display: none; }
.sf-quotes figure { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; padding: 34px 34px 30px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 rgba(23, 56, 42, 0.06), 0 24px 50px -34px rgba(11, 61, 36, 0.35); }
.sf-quotes .stars { color: #f5a623; letter-spacing: 3px; font-size: 18px; }
.sf-quotes blockquote { margin: 14px 0 20px; font-size: 20px; line-height: 1.42; letter-spacing: -0.01em; }
.sf-quotes figcaption { font-size: 14px; color: var(--muted); }

/* ---------- questions ---------- */
.sf-faq { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; padding: 0 max(24px, calc((100vw - var(--wrap)) / 2)) 110px; }
.sf-faq details { border-top: 1px solid var(--line); }
.sf-faq details:last-child { border-bottom: 1px solid var(--line); }
.sf-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.sf-faq summary::-webkit-details-marker { display: none; }
.sf-faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 400; color: var(--leaf); transition: transform 200ms ease; }
.sf-faq details[open] summary::after { transform: rotate(45deg); }
.sf-faq p { max-width: 620px; padding: 0 0 24px; color: var(--muted); }

/* ---------- closing ---------- */
.sf-close { margin: 0 24px; padding: 96px 24px 100px; border-radius: 36px; text-align: center; background: radial-gradient(120% 90% at 50% 30%, #17734a, #0b3d24 58%, #06281a); color: #fff; }
.sf-close > img { width: 88px; height: 88px; border-radius: 21px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.sf-close h2 { margin-top: 26px; font-size: clamp(40px, 6vw, 84px); }
.sf-close p { margin: 16px 0 34px; color: #a7f3d0; font-size: 20px; }
.sf-close .sf-store-links { justify-content: center; }

/* ---------- resources and footer: one white card ---------- */
.sf-resources { display: flex; flex-wrap: wrap; gap: 24px 60px; align-items: center; justify-content: space-between; margin: 24px 24px 0; padding: 52px max(28px, calc((100vw - var(--wrap)) / 2 - 24px)) 44px; border-radius: 36px 36px 0 0; background: #fff; }
.sf-resources h2 { font-size: 30px; letter-spacing: -0.025em; }
.sf-resources p { margin-top: 8px; max-width: 520px; color: var(--muted); }
.sf-resources-links { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-resources-links a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; transition: background 160ms ease, color 160ms ease; }
.sf-resources-links a:first-child { background: var(--ink); color: #fff; }
.sf-resources-links a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.sf-foot { margin: 0 24px 24px; padding: 0 max(28px, calc((100vw - var(--wrap)) / 2 - 24px)) 52px; border-radius: 0 0 36px 36px; background: #fff; color: var(--muted); box-shadow: 0 30px 60px -40px rgba(11, 61, 36, 0.35); }
.sf-foot-top { display: grid; grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 44px; border-top: 1px solid var(--line); }
.sf-foot.is-solo { margin-top: 24px; border-radius: 36px; }
.sf-foot.is-solo .sf-foot-top { border-top: 0; padding-top: 52px; }
.sf-foot-brand p { margin-top: 12px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--leaf); }
.sf-foot-brand small { display: block; margin-top: 18px; max-width: 420px; font-size: 13px; line-height: 1.55; color: #7c8f84; }
.sf-foot-brand small + small { margin-top: 8px; }
.sf-foot h3 { margin: 8px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7c8f84; }
.sf-foot nav { display: grid; gap: 11px; align-content: start; font-size: 16px; font-weight: 500; color: var(--ink); }
.sf-foot nav a { text-decoration: none; width: fit-content; }
.sf-foot nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .sf-foot-top { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .sf-resources { margin: 12px 12px 0; padding: 32px 24px; border-radius: 28px 28px 0 0; }
  .sf-foot { margin: 0 12px 12px; padding: 0 24px 34px; border-radius: 0 0 28px 28px; }
  .sf-foot.is-solo { margin-top: 12px; border-radius: 28px; }
  .sf-foot.is-solo .sf-foot-top { padding-top: 34px; }
  .sf-foot-brand { grid-column: 1 / -1; }
  .sf-foot-bottom { margin-top: 40px; }
  .sf-top nav { display: none; }
  .sf-top .sf-btn { margin-left: auto; }
  .sf-hero { padding: 36px 24px 64px; }
  .sf-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .sf-hero-description { font-size: 19px; margin: 22px 0 26px; }
  .sf-store-links img { height: 46px; }
  .sf-demo-player { width: min(100%, 320px); transform: none; }
  .sf-how { padding-top: 72px; }
  .sf-steps { display: grid; grid-template-columns: 1fr; gap: 44px; margin-top: 36px; }
  .sf-clip, .sf-step-text { max-width: 320px; margin-left: auto; margin-right: auto; }
  .sf-step-text { padding: 24px 6px 0; }
  .sf-steps b { align-items: baseline; font-size: 30px; line-height: 1.6; }
  .sf-steps b::before { transform: translateY(-4px); }
  .sf-steps p { margin: 8px 0 0; font-size: inherit; line-height: inherit; }
  .sf-sheet { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; margin-top: 64px; }
  .sf-sheet-card { transform: none; }
  .sf-app { grid-template-columns: 1fr; gap: 40px; padding: 72px 24px; }
  .sf-phone { max-width: 290px; margin: auto; transform: none; }
  .sf-faq { grid-template-columns: 1fr; gap: 24px; padding: 0 24px 72px; }
  .sf-faq summary { font-size: 19px; }
  .sf-quotes figure { flex-basis: 86%; padding: 28px 26px 26px; }
  .sf-arrows button { width: 46px; height: 46px; }
  .sf-quotes blockquote { font-size: 19px; }
  .sf-close { margin: 0 12px; padding: 64px 20px 70px; border-radius: 28px; }
}
