:root {
    --ink: #14231d;
    --muted: #66746e;
    --brand: #176b4d;
    --brand-dark: #0d5038;
    --brand-soft: #e7f3ed;
    --surface: #fff;
    --canvas: #f5f8f6;
    --line: #dfe7e3;
    --shadow: 0 24px 80px rgba(20,35,29,.11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.public-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.public-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(223,231,227,.9); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.header-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.public-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.025em; }
.public-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg,var(--brand),var(--brand-dark)); box-shadow: 0 9px 24px rgba(23,107,77,.23); font-weight: 800; }
.public-nav { display: flex; align-items: center; gap: 24px; color: #51615a; font-size: .9rem; font-weight: 650; }
.public-nav > a:not(.button):hover { color: var(--brand); }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 720; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 10px 24px rgba(23,107,77,.18); }
.button-primary:hover { color: #fff; background: var(--brand-dark); box-shadow: 0 13px 28px rgba(23,107,77,.24); }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button-secondary:hover, .button-ghost:hover { background: var(--canvas); }
.button-ghost { color: #3d5047; background: transparent; border-color: var(--line); }
.button-light { color: var(--brand-dark); background: #fff; }
.button-large { min-height: 52px; padding: 14px 22px; border-radius: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero { overflow: hidden; background: radial-gradient(circle at 12% 8%, rgba(34,139,100,.12), transparent 32rem), linear-gradient(180deg,#fff,#f5faf7); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; padding-top: 74px; padding-bottom: 78px; }
.hero-copy h1 { max-width: 700px; margin: 18px 0 21px; font-size: clamp(2.65rem,5vw,4.7rem); line-height: .99; letter-spacing: -.066em; }
.hero-copy h1 span { color: var(--brand); }
.hero-copy > p { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(1.02rem,1.5vw,1.2rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 31px 0 25px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 23px; color: #58675f; font-size: .8rem; font-weight: 650; }
.hero-trust i { margin-right: 5px; color: var(--brand); }
.hero-demo { position: relative; padding: 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.75); box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-demo::before { content: ''; position: absolute; z-index: -1; inset: 12% -18% -12% 20%; border-radius: 50%; background: rgba(23,107,77,.13); filter: blur(50px); }
.demo-browser { height: 39px; display: flex; align-items: center; gap: 6px; padding: 0 12px; color: #84918b; font-size: .72rem; }
.demo-browser span { width: 8px; height: 8px; border-radius: 50%; background: #d7dfdb; }
.demo-browser div { flex: 1; margin-left: 8px; padding: 6px 12px; border-radius: 8px; background: #f2f5f3; text-align: center; }
.demo-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.demo-kicker { color: var(--brand); font-size: .67rem; font-weight: 800; letter-spacing: .08em; }
.demo-card h2 { margin: 10px 0 7px; font-size: 1.37rem; letter-spacing: -.035em; }
.demo-card > p { margin: 0 0 22px; color: var(--muted); font-size: .85rem; }
.demo-reference { padding: 12px 14px; border-radius: 11px; background: var(--brand-soft); }
.demo-reference small, .demo-reference strong { display: block; }
.demo-reference small { color: #547166; font-size: .62rem; font-weight: 800; }
.demo-reference strong { margin-top: 4px; }
.demo-field { margin-top: 18px; color: #405048; font-size: .78rem; font-weight: 700; }
.demo-field div { height: 10px; margin-top: 9px; border-radius: 5px; background: #edf1ef; }
.demo-field div.short { width: 65%; }
.demo-upload { min-height: 92px; margin-top: 17px; display: grid; place-items: center; align-content: center; gap: 6px; border: 1px dashed #bdcec5; border-radius: 12px; color: var(--brand); background: #f7faf8; font-size: .75rem; font-weight: 700; }
.demo-upload i { font-size: 1.2rem; }
.demo-card button { width: 100%; min-height: 43px; margin-top: 17px; border: 0; border-radius: 10px; color: #fff; background: var(--brand); font-weight: 700; }
.section { padding: 100px 0; }
.section-soft { background: var(--canvas); }
.section-heading { max-width: 690px; margin: 0 auto 46px; text-align: center; }
.section-heading h2, .feature-copy h2, .cta-card h2 { margin: 12px 0 14px; font-size: clamp(2rem,4vw,3.15rem); line-height: 1.08; letter-spacing: -.052em; }
.section-heading p, .feature-copy > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.steps-grid article { position: relative; min-height: 285px; padding: 28px; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: 0 12px 35px rgba(20,35,29,.04); }
.steps-grid article > span { position: absolute; top: 18px; right: 20px; color: #b4c0ba; font-size: 2rem; font-weight: 800; }
.steps-grid article > i { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: var(--brand); background: var(--brand-soft); font-size: 1.25rem; }
.steps-grid h3 { margin: 33px 0 10px; font-size: 1.17rem; }
.steps-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.68; }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.feature-copy ul { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-copy li { display: flex; gap: 10px; font-weight: 660; }
.feature-copy li i { color: var(--brand); }
.feature-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.feature-stack article { min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--canvas); }
.feature-stack article > i { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--brand); }
.feature-stack h3 { margin: 23px 0 7px; font-size: 1rem; }
.feature-stack p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.section-pricing { background: linear-gradient(180deg,#f7faf8,#fff); }
.period-switch { width: fit-content; margin: -19px auto 34px; display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.period-switch button { min-height: 43px; padding: 8px 17px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 720; }
.period-switch button.active { color: #fff; background: var(--brand); }
.period-switch button span { margin-left: 7px; padding: 3px 6px; border-radius: 999px; color: var(--brand-dark); background: #d9f0e5; font-size: .65rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 15px 45px rgba(20,35,29,.045); }
.price-card.featured { border: 2px solid var(--brand); transform: translateY(-8px); box-shadow: 0 24px 65px rgba(23,107,77,.13); }
.popular-label { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 7px 13px; border-radius: 999px; color: #fff; background: var(--brand); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.price-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.price-card > p { min-height: 66px; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.price { display: flex; align-items: center; gap: 10px; margin: 26px 0 8px; }
.price strong { font-size: 2.4rem; letter-spacing: -.055em; }
.price span { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.invoice-total { min-height: 20px; color: var(--brand); font-size: .76rem; font-weight: 730; }
.price-card ul { flex: 1; display: grid; align-content: start; gap: 12px; margin: 25px 0; padding: 23px 0 0; border-top: 1px solid var(--line); list-style: none; }
.price-card li { display: flex; gap: 9px; color: #43534b; font-size: .84rem; }
.price-card li i { color: var(--brand); }
.pricing-note { display: flex; justify-content: center; gap: 8px; margin: 28px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
.cta-section { padding: 30px 0 95px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 50px; border-radius: 30px; color: #fff; background: linear-gradient(135deg,var(--brand-dark),var(--brand)); box-shadow: 0 25px 75px rgba(23,107,77,.22); }
.cta-card .eyebrow { color: #bfe9d7; }
.cta-card h2 { max-width: 710px; margin-bottom: 8px; }
.cta-card p { margin: 0; color: rgba(255,255,255,.75); }
.public-footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-row > div { display: flex; gap: 20px; color: var(--muted); font-size: .82rem; }
.footer-row small { color: var(--muted); }

/* Registrering */
.register-page { min-height: 100vh; background: var(--canvas); }
.register-header-actions { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: .82rem; }
.register-main { padding: 52px 0 90px; }
.register-container { width: min(1100px,calc(100% - 40px)); margin: 0 auto; }
.register-heading { max-width: 710px; margin-bottom: 32px; }
.register-heading > a { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 28px; color: var(--muted); font-size: .82rem; font-weight: 650; }
.register-heading .eyebrow { display: flex; width: fit-content; }
.register-heading h1, .registration-success h1 { margin: 12px 0 11px; font-size: clamp(2.25rem,5vw,3.6rem); letter-spacing: -.057em; }
.register-heading p { margin: 0; color: var(--muted); line-height: 1.7; }
.register-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 24px; align-items: start; }
.register-form { display: grid; gap: 18px; }
.form-section { padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 35px rgba(20,35,29,.035); }
.form-section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 23px; }
.form-section-heading > span { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--brand); font-size: .8rem; font-weight: 800; }
.form-section-heading h2 { margin: 0 0 4px; font-size: 1.14rem; }
.form-section-heading p { margin: 0; color: var(--muted); font-size: .79rem; }
.plan-choice-grid { display: grid; gap: 9px; }
.plan-choice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border .15s ease, background .15s ease; }
.plan-choice.selected { border-color: var(--brand); background: #f2f9f5; box-shadow: inset 0 0 0 1px var(--brand); }
.plan-choice input { accent-color: var(--brand); }
.plan-choice span strong, .plan-choice span small, .plan-choice b small { display: block; }
.plan-choice span strong { font-size: .9rem; }
.plan-choice span small, .plan-choice b small { margin-top: 3px; color: var(--muted); font-size: .7rem; font-weight: 550; }
.plan-choice b { text-align: right; font-size: .9rem; }
.billing-choice { margin-top: 19px; }
.billing-choice > span { display: block; margin-bottom: 8px; color: #405048; font-size: .78rem; font-weight: 740; }
.billing-choice > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.billing-choice label { cursor: pointer; }
.billing-choice input { position: absolute; opacity: 0; pointer-events: none; }
.billing-choice label > span { min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .82rem; font-weight: 720; }
.billing-choice input:checked + span { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.billing-choice b { padding: 3px 6px; border-radius: 999px; color: var(--brand-dark); background: #d5ecdf; font-size: .62rem; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.field { display: grid; gap: 7px; color: #405048; font-size: .79rem; font-weight: 720; }
.field > small { color: var(--muted); font-size: .68rem; font-weight: 500; }
.field.span-2 { grid-column: span 2; }
.field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d5dfda; border-radius: 11px; outline: 0; color: var(--ink); background: #fff; }
.field input:focus { border-color: rgba(23,107,77,.7); box-shadow: 0 0 0 4px rgba(23,107,77,.1); }
.field input.invalid { border-color: #c64d4d; }
.confirmation { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: var(--muted); font-size: .76rem; line-height: 1.5; cursor: pointer; }
.confirmation input { margin-top: 3px; accent-color: var(--brand); }
.submit-order { width: 100%; border: 0; }
.registration-error { display: none; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #efc9c9; border-radius: 11px; color: #8b3636; background: #fff4f4; font-size: .8rem; }
.registration-error.visible { display: block; }
.order-summary { position: relative; }
.summary-sticky { position: sticky; top: 96px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 14px 50px rgba(20,35,29,.065); }
.summary-label { color: var(--brand); font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.summary-sticky h2 { margin: 9px 0 21px; font-size: 1.35rem; }
.summary-line { display: flex; justify-content: space-between; gap: 15px; margin: 10px 0; color: var(--muted); font-size: .79rem; }
.summary-line strong { color: #36473f; text-align: right; }
.summary-line.discount { color: var(--brand); }
.summary-line.discount strong { color: var(--brand); }
.summary-divider { height: 1px; margin: 18px 0; background: var(--line); }
.summary-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.summary-total span { color: var(--muted); font-size: .76rem; }
.summary-total strong { font-size: 1.45rem; letter-spacing: -.04em; }
.summary-sticky > p { display: flex; gap: 8px; margin: 7px 0 0; padding: 12px; border-radius: 11px; color: #587168; background: var(--brand-soft); font-size: .71rem; line-height: 1.5; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.registration-success { max-width: 760px; margin: 35px auto; padding: 50px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.registration-success.d-none { display: none; }
.success-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 21px; border-radius: 22px; color: #fff; background: var(--brand); font-size: 1.7rem; }
.registration-success > p { max-width: 620px; margin: 0 auto; color: var(--muted); line-height: 1.7; }
.success-reference { width: fit-content; margin: 25px auto; padding: 13px 22px; border-radius: 13px; background: var(--brand-soft); }
.success-reference small, .success-reference strong { display: block; }
.success-reference small { color: #5f786d; font-size: .65rem; font-weight: 800; letter-spacing: .06em; }
.success-reference strong { margin-top: 4px; color: var(--brand-dark); font-size: 1.15rem; }
.success-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 28px 0; }
.success-steps div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); }
.success-steps span { width: 27px; height: 27px; display: grid; place-items: center; margin: 0 auto 9px; border-radius: 9px; color: #fff; background: var(--brand); font-size: .72rem; font-weight: 800; }
.success-steps p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }

@media (max-width: 920px) {
    .public-nav > a:not(.button) { display: none; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 45px; padding-top: 65px; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-demo { width: min(560px,100%); margin: 0 auto; }
    .feature-grid { grid-template-columns: 1fr; gap: 45px; }
    .register-layout { grid-template-columns: 1fr; }
    .order-summary { order: -1; }
    .summary-sticky { position: static; }
}
@media (max-width: 720px) {
    .public-container, .register-container { width: min(100% - 28px,1180px); }
    .public-header { position: static; }
    .header-row { min-height: 65px; }
    .public-nav { gap: 8px; }
    .public-nav .button-ghost { display: none; }
    .public-nav .button-primary { min-height: 39px; padding: 8px 11px; font-size: .75rem; }
    .hero-grid { padding-top: 46px; padding-bottom: 55px; }
    .hero-copy h1 { font-size: clamp(2.45rem,13vw,3.55rem); }
    .hero-actions { display: grid; }
    .hero-actions .button { width: 100%; }
    .hero-trust { display: grid; gap: 10px; }
    .demo-card { padding: 22px; }
    .section { padding: 73px 0; }
    .steps-grid, .pricing-grid, .feature-stack { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .cta-card { align-items: flex-start; flex-direction: column; padding: 32px 25px; }
    .footer-row { align-items: flex-start; flex-direction: column; }
    .footer-row > div { flex-wrap: wrap; }
    .register-header-actions > span { display: none; }
    .register-main { padding: 35px 0 65px; }
    .register-heading > a { margin-bottom: 19px; }
    .form-section { padding: 20px 16px; border-radius: 18px; }
    .field-grid { grid-template-columns: 1fr; }
    .field.span-2 { grid-column: auto; }
    .plan-choice { grid-template-columns: auto 1fr; }
    .plan-choice > b { grid-column: 2; text-align: left; }
    .billing-choice > div { grid-template-columns: 1fr; }
    .registration-success { padding: 34px 18px; }
    .success-steps { grid-template-columns: 1fr; }
}

.d-none { display: none !important; }
.spin { display:inline-block; animation:dokflow-spin .9s linear infinite; }
@keyframes dokflow-spin { to { transform:rotate(360deg); } }

/* v12 pricing */
.discounted-monthly { min-height: 38px; margin: -4px 0 13px; display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: .75rem; }
.discounted-monthly span { text-decoration: line-through; }
.discounted-monthly strong { color: #176b4d; font-weight: 700; font-size: .72rem; }
.price-card .price strong { min-width: 74px; }
.plan-choice b em { display: block; margin-top: 2px; color: var(--muted); font-size: .64rem; font-style: normal; font-weight: 500; text-decoration: line-through; }

.pricing-note-secondary { margin-top: 8px; }
