/* Momentra — shared styles */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #0B1220;
  --text: #344054;
  --muted: #475467;
  --line: #E4E7EC;
  --line-strong: #D0D5DD;
  --bg: #FFFFFF;
  --bg-soft: #F9FAFB;
  --bg-tint: #F2F4F7;
  --accent: #0E7C66;
  --accent-hover: #0A5C4C;
  --accent-soft: #E3F2EE;
  --dark: #0B1220;
  --dark-text: #C5CCD6;
  --dark-link: #7FD8C2;
  --radius: 8px;
  --radius-lg: 16px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --max: 1160px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.15; }

p { margin: 0; }

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

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius); z-index: 10; }
.skip-link:focus { left: 8px; color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .container { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-dark:hover { background: #1D2939; color: #fff; }
.site-nav .btn-dark { color: #fff; }

.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.pill-accent { color: var(--accent-hover); background: var(--accent-soft); }
.pill-neutral { color: var(--text); background: var(--bg-tint); }

/* Sections */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-tight { padding-top: 56px; padding-bottom: 56px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.section-head h2 { font-size: 38px; font-weight: 700; }
.section-head p { font-size: 17px; color: var(--muted); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero h1 { font-size: 60px; line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { flex: 1 1 420px; min-width: 0; background: var(--bg-tint); border-radius: 20px; padding: 32px; }

/* Product preview */
.preview { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.preview-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.preview-title { font-weight: 600; font-size: 15px; }
.preview-meta { font-size: 12px; color: var(--muted); }
.preview-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 380px; }
.preview-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.preview-table th { background: var(--bg-soft); color: var(--muted); font-weight: 600; text-align: left; padding: 9px 12px; }
.preview-table td { padding: 9px 12px; border-top: 1px solid var(--line); }
.preview-table td.muted { color: var(--muted); }
.preview-button { min-height: 42px; border-radius: var(--radius); background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.preview-chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.preview-chips span { padding: 8px 14px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--text); }
.preview-chips span.on { background: var(--accent-soft); color: var(--accent-hover); border-color: transparent; font-weight: 600; }

/* Trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.strip ul { list-style: none; margin: 0 auto; padding: 22px 24px; max-width: var(--max); display: flex; gap: 16px 40px; flex-wrap: wrap; justify-content: space-between; font-size: 15px; color: var(--text); }
.strip li { display: flex; align-items: center; gap: 10px; }

/* Cards */
.cards { display: flex; gap: 24px; flex-wrap: wrap; }
.card { flex: 1 1 420px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.card-icon.accent { background: var(--accent-soft); }
.card-icon.neutral { background: var(--bg-tint); }
.card h3 { font-size: 24px; font-weight: 700; }
.card p { color: var(--muted); }
.card .more { font-weight: 600; text-decoration: none; margin-top: auto; }

/* Dark band */
.band-dark { background: var(--dark); color: #fff; }
.band-dark h2 { color: #fff; font-size: 38px; font-weight: 700; max-width: 640px; }
.band-dark .cols { display: flex; gap: 36px; flex-wrap: wrap; margin: 44px 0; }
.band-dark .col { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.band-dark .col h3 { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.band-dark .col p { color: var(--dark-text); }
.band-dark a { color: var(--dark-link); font-weight: 600; text-decoration: none; }
.band-dark a:hover { color: #A6E8D7; }

/* Features */
.features { display: flex; gap: 32px; flex-wrap: wrap; }
.feature { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { color: var(--muted); }

/* Beta form */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split h2 { font-size: 38px; font-weight: 700; margin-bottom: 16px; }
.split .lead { font-size: 17px; color: var(--muted); }
.form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 14px; font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg); }
.field textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }

/* App page */
.app-hero { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.app-title { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.app-title h1 { font-size: 46px; line-height: 1.08; font-weight: 700; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.app-lead { font-size: 19px; color: var(--muted); max-width: 720px; }
.shot { background: var(--bg-tint); border-radius: 20px; padding: 36px; }
.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how { display: flex; flex-wrap: wrap; gap: 56px; }
.how > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.how h2 { font-size: 34px; font-weight: 700; }
.how ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.faq-item h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.faq-item p { font-size: 15px; color: var(--muted); }
.help { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.help h2 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.help p { color: var(--muted); font-size: 15px; }

/* Legal pages */
.legal { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 56px; padding-bottom: 80px; }
.legal-nav { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.legal-nav .label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); padding: 0 12px 10px; text-transform: uppercase; }
.legal-nav a { padding: 10px 12px; border-radius: var(--radius); color: var(--text); text-decoration: none; }
.legal-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }
.legal-body { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
.legal-body h1 { font-size: 44px; font-weight: 700; }
.legal-body .updated { font-size: 14px; color: var(--muted); margin-top: 10px; }
.legal-body h2 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.legal-body p, .legal-body li { color: var(--text); line-height: 1.7; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul, .legal-body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.summary { background: var(--accent-soft); border-radius: 12px; padding: 18px 20px; color: var(--accent-hover); }
.summary p { color: var(--accent-hover); }
.table-wrap { border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.table-wrap th { background: var(--bg-soft); color: var(--muted); font-weight: 600; text-align: left; padding: 11px 14px; }
.table-wrap td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-main { padding-top: 48px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 36px; }
.footer-cols { display: flex; gap: 40px 48px; flex-wrap: wrap; justify-content: space-between; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.footer-brand .tagline { font-size: 14px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .title { font-weight: 600; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; color: var(--muted); }
.footer-mini { padding-top: 28px; padding-bottom: 28px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; font-size: 13px; color: var(--muted); }
.footer-mini nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-mini a { color: var(--muted); text-decoration: none; }
.footer-mini a:hover { color: var(--ink); }

/* 404 */
.notfound { padding: 120px 24px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.notfound h1 { font-size: 48px; }
.notfound p { color: var(--muted); font-size: 18px; }

/* Small screens */
@media (max-width: 640px) {
  .hero { padding-top: 48px; gap: 36px; }
  .hero h1 { font-size: 40px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-head h2, .band-dark h2, .split h2 { font-size: 30px; }
  .app-title h1 { font-size: 34px; }
  .legal-body h1 { font-size: 34px; }
  .hero-visual, .shot { padding: 16px; }
  .card, .form { padding: 22px; }
  .legal-nav { max-width: none; flex-direction: row; flex-wrap: wrap; }
  .legal-nav .label { width: 100%; }
}

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

/* Section label next to the brand ("for Atlassian") */
.brand-sub { font-size: 13px; font-weight: 600; color: var(--muted); padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }

/* Agency home */
.agency-hero { padding-top: 120px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.agency-hero h1 { font-size: 64px; line-height: 1.03; font-weight: 700; letter-spacing: -0.03em; max-width: 820px; }
.agency-hero .hero-lead { max-width: 640px; }
.product-card { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; text-decoration: none; color: var(--ink); }
.product-card:hover { border-color: var(--accent); color: var(--ink); }
.product-card .body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.product-card h3 { font-size: 24px; font-weight: 700; }
.product-card p { color: var(--muted); }
.product-card .go { font-weight: 600; color: var(--accent); }
@media (max-width: 640px) { .agency-hero { padding-top: 64px; padding-bottom: 56px; } .agency-hero h1 { font-size: 42px; } }
