:root {
  --ink: #102c29;
  --muted: #596d68;
  --paper: #f7f8f4;
  --mint: #bceacb;
  --line: #dce5de;
  --white: #fff;
  --accent: #176d5c;
  --accent-bright: #2c9a72;
  --warm: #f0b46d;
  --danger: #a92835;
  --control-height: 46px;
}

html { scroll-padding-top: 24px; }
body {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 5% 5%, #d8eddf80, transparent 31rem),
    var(--paper);
}

/* A quiet, full-width header with a small generated line texture. */
.nav {
  position: relative;
  z-index: 20;
  isolation: isolate;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 82px;
  padding: 13px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid #d6e1d9;
  background-color: #fbfcf9ed;
  background-image: radial-gradient(#a5c7b21a .75px, transparent .75px);
  background-size: 8px 8px;
  box-shadow: 0 8px 28px #173e3010;
  backdrop-filter: blur(18px);
}
.brand { position: relative; z-index: 1; flex: 0 0 auto; font-size: 26px; }
.brand img { width: 36px; height: 36px; }
.brand-dot { color: var(--accent-bright); }
.nav-panel { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.3vw, 34px); }
.nav .nav-panel nav { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 25px); font-size: 13px; }
.nav nav a, .footer-links a { transition: color .18s ease; }
.nav nav a:hover, .footer-links a:hover { color: var(--accent-bright); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-picker { gap: 6px; font-size: 11px; }
.language-picker select { min-height: 42px; padding: 8px 28px 8px 11px; border-color: transparent; background: #eef3ed; }

/* Buttons share a reliable hit target. Priority comes from color and weight. */
button, .primary, .secondary, .text-button {
  min-height: var(--control-height);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
button, .primary, .secondary { padding: 0 17px; }
.primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #124e47);
  box-shadow: 0 5px 14px #176d5c25;
}
.primary:hover { border-color: #115446; background: linear-gradient(135deg, #20806a, #145b4e); box-shadow: 0 8px 20px #176d5c36; transform: translateY(-1px); }
.secondary { border-color: #c6d5cc; background: #fff; color: var(--ink); }
.secondary:hover { border-color: #79a994; background: #f0f7f2; transform: translateY(-1px); }
.text-button { padding-inline: 10px; color: var(--accent); }
.text-button:hover { background: #eaf3ed; }
button.danger, .secondary.danger, td .danger { border-color: #e3c1c3; background: #fff7f7; color: var(--danger); }
button:disabled { transform: none; box-shadow: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline-color: #239f76; outline-offset: 3px; }
.nav-menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(720px, calc(100svh - 82px));
  align-items: center;
  padding-top: clamp(70px, 8vw, 118px);
  padding-bottom: clamp(76px, 9vw, 128px);
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: -11%;
  width: min(60vw, 730px);
  aspect-ratio: 1;
  border: 1px solid #7fae9226;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 31%, #ffffff75 31.2% 31.4%, transparent 31.6% 47%, #5f997b1c 47.2% 47.4%, transparent 47.6%),
    radial-gradient(circle at 50% 50%, #bfe4cc35 0 1px, transparent 1.4px);
  background-size: auto, 11px 11px;
  box-shadow: inset 0 0 70px #9acdb522;
  content: "";
  animation: orbit-breathe 12s ease-in-out infinite alternate;
}
.hero::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 8%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 9px #f0b46d20, 0 0 48px #f0b46d80;
  content: "";
  animation: float-dot 5s ease-in-out infinite;
}
.hero > div:first-child { animation: enter-up .72s cubic-bezier(.2,.7,.2,1) both; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #b7d7c2; border-radius: 99px; background: #ffffffa8; color: #28634e; letter-spacing: 1.35px; }
.hero .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: #55a579; box-shadow: 0 0 0 4px #55a57920; content: ""; }
h1 { max-width: 650px; font-size: clamp(50px, 6.3vw, 88px); font-weight: 650; letter-spacing: -.065em; }
h1 span { color: var(--accent); }
.lead { max-width: 520px; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.7; }
.actions { gap: 12px; }
.product-frame {
  position: relative;
  border: 1px solid #c8d9cf;
  border-radius: 22px;
  background: #ffffffee;
  box-shadow: 0 35px 90px #163b2f1b, 0 7px 22px #163b2f0c;
  transform: perspective(1100px) rotateY(-5deg) rotateZ(-1deg);
  animation: dashboard-hover 7s ease-in-out infinite;
}
.mock-top { background: linear-gradient(90deg, #f8fbf7, #fff); }
.pill { border: 1px solid #c8e5d0; background: #ebf7ef; color: #27694e; }
.mock-main { background-image: radial-gradient(#abd0b321 .8px, transparent .8px); background-size: 13px 13px; }
.sample-products > div { box-shadow: inset 0 1px #fff; transition: transform .2s ease, border-color .2s ease; }
.sample-products > div:hover { border-color: #9dc7ac; transform: translateY(-3px); }
.mock-pay { background: linear-gradient(100deg, #153e36, #176d5c); }

.feature-section, .plans-section, .how-section, .workspace { scroll-margin-top: 30px; }
.feature-section { padding-top: 94px; padding-bottom: 96px; }
.section-heading { max-width: 730px; }
.section-heading .eyebrow, .how-section .eyebrow { color: #467761; }
h2 { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -.045em; }
.feature-grid { gap: 16px; }
.feature-grid article {
  position: relative;
  min-height: 230px;
  padding: 27px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, #fff, #f4f8f3);
  box-shadow: 0 14px 40px #193e2c09;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.feature-grid article::after { position: absolute; right: -25px; bottom: -56px; width: 150px; height: 150px; border: 1px solid #75b19428; border-radius: 50%; box-shadow: 0 0 0 12px #75b1940c, 0 0 0 28px #75b1940a; content: ""; }
.feature-grid article:hover { border-color: #a7cbb5; box-shadow: 0 20px 44px #193e2c12; transform: translateY(-4px); }
.feature-grid article h3 { margin: 19px 0 9px; font-size: 22px; letter-spacing: -.025em; }
.plans-section { max-width: none; padding: 88px max(24px, calc((100vw - 1224px) / 2)); border-block: 1px solid #e2e9e2; background: linear-gradient(180deg, #eef4ec, #f5f8f3); }
.plans-section .section-heading { margin-inline: auto; }
.billing { margin-top: 16px; border-radius: 12px; background: #e5ede5; }
.billing button { min-height: 40px; padding: 0 16px; }
.plan { position: relative; border-radius: 18px; box-shadow: 0 12px 30px #193e2c0a; transition: transform .22s ease, box-shadow .22s ease; }
.plan:hover { box-shadow: 0 18px 38px #193e2c14; transform: translateY(-3px); }
.plan.featured { border: 1.5px solid #70ab8c; background: linear-gradient(150deg, #e4f4e8, #f5fbf5); box-shadow: 0 18px 44px #176d5c18; }
.how-section { gap: clamp(40px, 8vw, 112px); padding-top: 96px; padding-bottom: 96px; }
.how-section li { padding-bottom: 32px; }
.how-section li::before { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #c1decb; border-radius: 50%; background: #eef7f0; color: var(--accent); font-size: 11px; }
.support-section { position: relative; overflow: hidden; border: 1px solid #dce8dd; background: linear-gradient(115deg, #edf4e9, #f7f9f4 65%, #eaf3eb); }
.support-section::after { position: absolute; right: -45px; bottom: -110px; width: 280px; height: 280px; border: 1px solid #5797752c; border-radius: 50%; box-shadow: 0 0 0 16px #5797750b, 0 0 0 42px #57977508; content: ""; pointer-events: none; }

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 58px clamp(24px, 7vw, 100px) 28px;
  background-color: #102c29;
  background-image: radial-gradient(#bcdfc114 .8px, transparent .8px);
  background-size: 10px 10px;
  color: #d9e8de;
}
.site-footer::before { position: absolute; z-index: -1; top: -210px; right: -55px; width: 530px; height: 530px; border: 1px solid #a8d7b322; border-radius: 50%; background: radial-gradient(circle, #2d876522, transparent 67%); box-shadow: 0 0 0 18px #9bc7a20a, 0 0 0 48px #9bc7a208; content: ""; }
.footer-inner { position: relative; display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1fr) auto; align-items: end; gap: 18px 42px; max-width: 1224px; margin: auto; }
.footer-inner > .brand, .footer-inner > p { grid-column: 1; }
.footer-inner > .brand { color: white; }
.footer-inner > p { margin: 0; }
.footer-inner > p:nth-of-type(1) { color: #d9e8de; font-size: 15px; }
.footer-inner > p:nth-of-type(2) { color: #a9c1b5; }
.footer-inner > p:nth-of-type(3) { color: #a9c1b5; }
.footer-inner > span { grid-column: 3; grid-row: 2; color: #a9c1b5; }
.footer-links { grid-column: 2; grid-row: 1 / span 3; display: grid; gap: 13px; align-content: center; padding: 15px 0; color: #eef6ef; font-size: 13px; }
.footer-caption { margin-bottom: 3px; color: #8fbaa3; font-size: 10px; font-weight: 750; letter-spacing: 1.6px; }
.footer-inner > span { padding-bottom: 2px; font-size: 12px; }
.site-footer a:focus-visible { outline-color: #bee7c8; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal .feature-grid article:nth-child(2) { transition-delay: .07s; }
.reveal .feature-grid article:nth-child(3) { transition-delay: .14s; }

@keyframes enter-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dashboard-hover { 0%, 100% { transform: perspective(1100px) rotateY(-5deg) rotateZ(-1deg) translateY(0); } 50% { transform: perspective(1100px) rotateY(-5deg) rotateZ(-1deg) translateY(-8px); } }
@keyframes orbit-breathe { from { transform: scale(.97) rotate(-4deg); opacity: .6; } to { transform: scale(1.03) rotate(4deg); opacity: 1; } }
@keyframes float-dot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 1100px) {
  .nav { min-height: 74px; }
  .nav-menu-toggle { display: inline-grid; width: 46px; height: 46px; margin-left: auto; padding: 0; place-items: center; border: 1px solid #d1dfd5; background: #fff; color: var(--ink); }
  .menu-icon { display: grid; gap: 4px; }
  .menu-icon i { display: block; width: 17px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav.menu-open .menu-icon i:first-child { transform: translateY(6px) rotate(45deg); }
  .nav.menu-open .menu-icon i:nth-child(2) { opacity: 0; }
  .nav.menu-open .menu-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }
  .nav-panel { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; padding: 12px clamp(18px, 5vw, 42px) 20px; border-bottom: 1px solid #d5e1d7; background: #fbfcf9f7; box-shadow: 0 15px 24px #173e3014; backdrop-filter: blur(18px); }
  .nav.menu-open .nav-panel { display: grid; gap: 12px; }
  .nav .nav-panel nav { display: grid; gap: 2px; }
  .nav .nav-panel nav a { display: flex; min-height: 44px; align-items: center; padding: 0 10px; border-radius: 9px; }
  .nav .nav-panel nav a:hover { background: #edf5ef; }
  .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .language-picker { grid-column: 1 / -1; justify-content: space-between; padding: 5px 8px; }
  .language-picker select { width: 100%; max-width: 220px; }
  .nav-actions #open-login, .nav-actions #open-owner { width: 100%; margin: 0; }
  .nav-actions #open-owner { border: 1px solid #c6d5cc; }
}
@media (max-width: 800px) {
  .hero { min-height: auto; padding-top: 64px; padding-bottom: 76px; }
  .hero::before { top: 41%; right: -45%; width: 120vw; }
  .hero::after { right: 12%; bottom: 3%; }
  .product-frame { transform: none; animation-name: dashboard-hover-mobile; }
  .feature-section { padding-top: 64px; padding-bottom: 65px; }
  .feature-grid article { min-height: 0; }
  .plans-section { padding: 64px 24px; }
  .how-section { padding-top: 65px; padding-bottom: 65px; }
  .footer-inner { grid-template-columns: 1fr 1fr; align-items: start; gap: 15px 24px; }
  .footer-inner > .brand, .footer-inner > p { grid-column: 1 / -1; }
  .footer-links { grid-column: 1; grid-row: auto; }
  .footer-inner > span { grid-column: 2; grid-row: auto; align-self: end; justify-self: end; }
}
@keyframes dashboard-hover-mobile { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 480px) {
  .nav { min-height: 68px; padding-inline: 17px; }
  .brand { font-size: 23px; }
  .brand img { width: 32px; height: 32px; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: clamp(47px, 14vw, 66px); }
  .actions { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  .actions > * { width: 100%; }
  .sample-products { gap: 6px; }
  .sample-products > div { padding: 12px 4px; }
  .sample-line { align-items: flex-start; font-size: 9px; }
  .sample-line b { text-align: right; }
  .billing { display: flex; width: 100%; }
  .billing button { flex: 1; padding-inline: 8px; font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links, .footer-inner > span { grid-column: 1; justify-self: start; }
  .footer-inner > span { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
/* Preserve readable data columns on narrow screens; the focused region scrolls. */
.workspace .table-wrap table { min-width:650px; }
.workspace .table-wrap th { white-space:nowrap; }
.workspace .table-wrap th,.workspace .table-wrap td { min-width:100px; word-break:normal; overflow-wrap:anywhere; }
.workspace .table-wrap td button { white-space:nowrap; }
.workspace .table-wrap:focus-visible { outline:3px solid #239f76; outline-offset:3px; }
