/* ==========================================================================
   InkJar Landing Page
   NOTE: Colors, spacing and type scale below are approximated from a
   full-page screenshot while exact Figma tokens are pending (section-level
   node access). Search "TODO(figma-tokens)" to find values to verify/replace.
   ========================================================================== */

:root {
  /* Verified against Figma design context (header/hero/get-in-touch nodes) */
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-text-muted: #6b7280;
  --color-border: #e7e7ea;
  --color-accent: #0b65ff;
  --color-accent-hover: #0956d9;
  --color-dark-bg: #18191d;
  --color-dark-text: #ffffff;
  --color-dark-text-muted: rgba(255, 255, 255, 0.7);
  --color-error: #d92d20;
  --color-success: #12805c;

  --font-display: "Cabinet Grotesk", "Satoshi", sans-serif;
  --font-body: "Satoshi", sans-serif;

  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

a { color: inherit; }

/* -------------------- Buttons --------------------
   Figma spec: all buttons 62px tall, 22px Satoshi Bold, 16px radius —
   except the Get in Touch button (.btn--sm): 46px tall, 16px font. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 62px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: background-color .15s ease, transform .1s ease, opacity .15s ease;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--sm { height: 46px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .65; cursor: not-allowed; }

.btn__spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: .85; }

@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------- Header -------------------- */
.site-header {
  padding: 28px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo__mark { width: 100px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 16px;
  font-weight: 500;
}
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.site-nav__dot { display: inline-flex; }
.site-nav__dot img { width: 5px; height: 5px; }

/* -------------------- Hero -------------------- */
.hero {
  text-align: center;
  padding: 64px 24px 80px;
  max-width: 1200px;
}
@media (max-width: 1240px) {
  .hero { max-width: 1024px; }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 20px;
}
.hero__sub {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 8px;
}
.hero__cta-copy {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  margin: 24px 0 28px;
}

.email-form { max-width: 520px; margin: 0 auto; }
.email-form__row {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
}
.email-form__row input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 62px;
  padding: 0 16px;
  border: none;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 17px;
  background: transparent;
  color: var(--color-text);
}
.email-form__row input[type="email"]::placeholder { color: rgba(0, 0, 0, 0.3); }
.email-form__row input[type="email"]:focus {
  outline: none;
}
.email-form__row .btn { white-space: nowrap; }
.email-form__disclaimer {
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  margin: 6px 0 0;
}
.email-form__disclaimer[data-state="success"] { color: var(--color-success); font-weight: 700; }
.email-form__disclaimer[data-state="error"] { color: var(--color-error); font-weight: 700; }

/* -------------------- Feature strip --------------------
   One combined image (single file, better for performance than 5
   separate requests) plus an independent row of 5 text groups below it
   (per Figma: "Frame 32" image strip and "Frame 21" text row are
   siblings, not paired cards). Never wraps/stacks, even on phone —
   width:100% + height:auto just shrinks the whole strip together. */
.features { padding: 48px 24px; }

.feature-images {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.feature-text-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 20px;
}
.feature-text h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
.feature-text p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0;
}

.divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 8px auto 48px;
}

/* -------------------- Get a Taste Now -------------------- */
.get-a-taste {
  text-align: center;
  padding: 24px 24px 96px;
  max-width: 800px;
}
.get-a-taste h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 16px;
}
.get-a-taste__lead {
  font-size: 16px;
  margin: 0 0 4px;
}
.get-a-taste__feedback {
  font-size: 16px;
  color: var(--color-text);
  margin: 0 0 40px;
}
.link-accent {
  color: var(--color-accent);
  text-decoration: none;
}
.link-accent:hover { text-decoration: underline; }

.preview-circles {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.preview-circle {
  max-width: 320px;
  cursor: pointer;
  border-radius: 50%;
}
.preview-circle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}
.preview-circle__media {
  width: 300px;
  height: 300px;
  max-width: 100%;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: #eef2fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-circle[data-preview="character"] .preview-circle__media { background: #fbeee4; }
.preview-circle__video { width: 100%; height: 100%; object-fit: cover; }
.preview-circle p {
  font-size: 16px;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

.get-a-taste__note {
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 6px 0 0;
}

/* -------------------- Get in Touch -------------------- */
.contact-section {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
  border-radius: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 200px;
}
/* Section is edge-to-edge (auto margins collapse to 0) once the viewport
   drops to/below the 1200px container width — sharp corners at that point. */
@media (max-width: 1200px) {
  .contact-section { border-radius: 0; }
}
.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 320px);
  gap: 80px;
  align-items: start;
  max-width: none;
  padding: 0;
}
.contact-section__copy { max-width: 384px; }
.contact-section__wave {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
}
.contact-section__copy h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}
.contact-section__copy p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark-text);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  resize: vertical;
}
.contact-form textarea { min-height: 133px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}
.contact-form .btn { align-self: flex-start; }
.contact-form__status {
  min-height: 1.4em;
  font-size: 13.5px;
  margin: 0;
}
.contact-form__status[data-state="success"] { color: #6ee7b7; }
.contact-form__status[data-state="error"] { color: #fca5a5; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
}

/* -------------------- Footer -------------------- */
.site-footer {
  height: 80px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.site-footer__social a,
.site-footer__legal a { color: var(--color-text-muted); text-decoration: underline; }
.site-footer__social a:hover,
.site-footer__legal a:hover { color: var(--color-text); }
.site-footer__sep { margin: 0 8px; opacity: .6; }

/* -------------------- Modal -------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 20, .55);
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.modal__panel h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
}
.modal__subtext {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 20px;
}
.modal__panel input[type="email"] {
  width: 100%;
  height: 62px;
  padding: 0 20px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 17px;
  margin-bottom: 14px;
}
.modal__panel input[type="email"]:focus {
  outline: none;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  border-radius: 50%;
}
.modal__close:hover { background: #f3f4f8; }
.modal__fineprint {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 14px 0 0;
}
.modal__fineprint[data-state="success"] { color: var(--color-success); font-weight: 700; }
.modal__fineprint[data-state="error"] { color: var(--color-error); font-weight: 700; }

/* -------------------- Responsive --------------------
   NOTE: .feature-images (now a single combined image) intentionally has
   no breakpoint overrides — width:100%/height:auto already shrinks it
   fluidly and it never wraps/stacks, even on phone. */
@media (max-width: 900px) {
  .feature-text-row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .contact-section__inner { grid-template-columns: 1fr; }
  .contact-section { padding: 64px 48px; }
}

@media (max-width: 720px) {
  .hero__title { font-size: 38px; }
  .hero__sub, .hero__cta-copy { font-size: 18px; }
  .preview-circle__media { width: 220px; height: 220px; }
}

@media (max-width: 560px) {
  .site-header__inner { flex-direction: row; }
  .hero__title { font-size: 32px; }
  .feature-text-row { grid-template-columns: 1fr; row-gap: 24px; }
  .email-form__row { flex-direction: column; align-items: stretch; }
  .email-form__row input[type="email"] { flex: none; width: 100%; height: 62px; }
  .email-form__row .btn { width: 100%; }
  .preview-circles { gap: 32px; }
  .preview-circle__media { width: 180px; height: 180px; }
  .contact-section { padding: 40px 20px; }
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn__spinner { animation: none; }
}

/* ==========================================================================
   License page (license.html)
   Uses the same tokens as the landing page. Added 2026-08-09.
   ========================================================================== */
.license { padding: 24px 0 96px; }
.license__inner { max-width: 860px; }

.license__head { padding-bottom: 8px; }
.license__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.15;
  margin: 24px 0 8px;
}
.license__version {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 28px;
}
.license__lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 12px;
}
.license__lead--muted { color: var(--color-text-muted); font-size: 18px; }

.license__section { padding-top: 48px; }
.license__section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 16px;
}
.license__section h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  margin: 28px 0 10px;
}
.license__section p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.license__list { margin: 0 0 14px; padding-left: 22px; }
.license__list li { font-size: 17px; line-height: 1.65; margin-bottom: 10px; }

.license__aside {
  border-left: 3px solid var(--color-accent);
  padding: 4px 0 4px 18px;
  margin: 20px 0 0;
  color: var(--color-text);
}
.license__note {
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 20px 0 0;
}
.license__note a { color: var(--color-accent); }

.license__foot {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.license__foot p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; margin: 0 0 6px; }

/* -------------------- The can/can't table -------------------- */
.license-table__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.license-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 660px;
}
.license-table th,
.license-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 12px;
  text-align: center;
  vertical-align: middle;
}
.license-table thead th {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 12px;
}
.license-table tbody th {
  text-align: left;
  font-weight: 500;
  line-height: 1.5;
  padding-right: 24px;
}
.license-table__use { text-align: left !important; width: 46%; }
.license-table__seats td { font-weight: 700; font-size: 14px; }
.license-table tbody tr:last-child th,
.license-table tbody tr:last-child td { border-bottom: none; }

.tick, .cross {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.tick {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10.5l4 4 8-9' stroke='%2312805c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cross {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='%23b4b4bb' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

@media (max-width: 720px) {
  .license__title { font-size: 34px; }
  .license__lead { font-size: 18px; }
  .license__section h2 { font-size: 24px; }
  .license__section p,
  .license__list li { font-size: 16px; }
}


/* ---------- Cookie consent (added 2026-08-13) ---------- */
.consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 999;
  width: calc(100% - 32px);
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 16px 14px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  font-family: var(--font-body);
}
.consent[hidden] { display: none; }
.consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.consent__actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent__btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.consent__btn:hover { background: var(--color-accent-hover); }
.consent__btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
.consent__btn--ghost:hover { background: transparent; color: var(--color-text); }
.consent__btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .consent { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .consent__actions { justify-content: flex-end; }
}

/* Footer "Cookies" — a button, because it performs an action rather than navigating. */
.site-footer__linkbtn {
  font: inherit;
  color: var(--color-text-muted);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
.site-footer__linkbtn:hover { color: var(--color-text); }
.site-footer__linkbtn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
