:root {
  color-scheme: light;
  --ivory: #f5f1e7;
  --ivory-2: #ece5d6;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --emerald: #0b493b;
  --emerald-deep: #073a31;
  --emerald-2: #1b6a55;
  --gold: #b98b43;
  --gold-soft: #ddc89f;
  --ink-soft: #5a766d;
  --line: rgba(11, 73, 59, .14);
  --line-strong: rgba(11, 73, 59, .22);
  --danger: #9f3a30;
  --danger-bg: #fff4ef;
  --shadow-sm: 0 8px 24px rgba(7, 58, 49, .055);
  --shadow: 0 28px 70px rgba(7, 58, 49, .085), 0 2px 8px rgba(7, 58, 49, .035);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--emerald);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.hidden { display: none !important; }

.topbar {
  width: min(1120px, calc(100% - 48px));
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 73, 59, .09);
}
.brand {
  text-decoration: none;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.055em;
  color: var(--emerald-deep);
}
.brand span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: rgba(11, 73, 59, .68);
  transition: color .16s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: right .18s ease;
}
.nav-links a:hover { color: var(--emerald); }
.nav-links a:hover::after { right: 0; }
.nav-pill {
  border: 1px solid rgba(11, 73, 59, .12);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 253, 248, .64);
  color: rgba(11, 73, 59, .66);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 735px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 50%;
  width: 1px;
  height: 34px;
  background: var(--gold-soft);
}
.hero-inner {
  width: min(810px, calc(100% - 40px));
  text-align: center;
  padding: 112px 0 58px;
}
.hero-inner::before {
  content: "SVENSK TÅGERSÄTTNING · UTAN KRÅNGEL";
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
h1, h2, h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
}
h1 {
  margin: 0;
  font-size: clamp(46px, 5.7vw, 74px);
  line-height: 1.045;
  letter-spacing: -.064em;
  color: var(--emerald-deep);
}
h1 span { color: var(--emerald-2); }
.hero-copy {
  max-width: 630px;
  margin: 27px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
  letter-spacing: -.006em;
}

.upload-card {
  position: relative;
  overflow: hidden;
  width: min(650px, 100%);
  margin: 43px auto 0;
  padding: 42px 58px 38px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid rgba(11, 73, 59, .10);
  box-shadow: var(--shadow);
  cursor: pointer;
  outline: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.upload-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(185, 139, 67, .13);
  border-radius: 12px;
  pointer-events: none;
}
.upload-card:hover, .upload-card.drag {
  transform: translateY(-3px);
  box-shadow: 0 34px 82px rgba(7, 58, 49, .12), 0 2px 8px rgba(7, 58, 49, .04);
  border-color: rgba(11, 73, 59, .17);
}
.upload-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(185, 139, 67, .20), var(--shadow);
}
.gold-line {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 76px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 99px 99px;
  background: var(--gold);
}
.file-icon {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--ivory);
  color: var(--emerald-2);
  border: 1px solid rgba(11, 73, 59, .10);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .5);
}
.primary-cta {
  position: relative;
  z-index: 2;
  border: 1px solid var(--emerald-deep);
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--emerald-deep);
  color: #fffdf7;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .015em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(7, 58, 49, .14);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.primary-cta:hover {
  background: var(--emerald-2);
  border-color: var(--emerald-2);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(7, 58, 49, .18);
}
.primary-cta:active { transform: translateY(0); }
.primary-cta:disabled { opacity: .58; cursor: wait; transform: none; }
.upload-card .primary-cta { max-width: 374px; }
.upload-help {
  position: relative;
  z-index: 2;
  margin: 16px 0 0;
  color: rgba(11, 73, 59, .47);
  font-size: 12px;
}
.file-name {
  position: relative;
  z-index: 2;
  margin: 9px 0 0;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 600;
}
.reassurance {
  width: max-content;
  max-width: 100%;
  margin: 25px auto 0;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(11, 73, 59, .08);
  border-radius: 999px;
  background: rgba(255, 253, 248, .45);
  color: rgba(11, 73, 59, .56);
  font-size: 11px;
}
.check-dot {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 139, 67, .62);
  border-radius: 50%;
  color: #a67831;
  font-size: 9px;
  font-weight: 800;
}
.processing {
  width: min(650px, 100%);
  margin: 22px auto 0;
  padding: 17px 18px;
  background: rgba(255, 253, 248, .78);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.processing-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--emerald);
  font-size: 11px;
  font-weight: 600;
}
.progress-track {
  height: 4px;
  margin-top: 12px;
  background: rgba(11, 73, 59, .08);
  overflow: hidden;
  border-radius: 99px;
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width .2s ease;
}
.notice {
  width: min(650px, 100%);
  margin: 18px auto 0;
  padding: 14px 15px;
  border: 1px solid rgba(159, 58, 48, .14);
  background: var(--danger-bg);
  color: var(--danger);
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}
.rights-box {
  width: min(650px, 100%);
  margin: 46px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.rights-box summary {
  list-style: none;
  padding: 23px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(11, 73, 59, .83);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}
.rights-box summary::-webkit-details-marker { display: none; }
.rights-box summary span {
  color: var(--gold);
  font-size: 18px;
  transition: transform .2s;
}
.rights-box[open] summary span { transform: rotate(180deg); }
.rights-copy {
  padding: 0 0 23px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.flow-section {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto 32px;
  scroll-margin-top: 22px;
}
.flow-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(11, 73, 59, .10);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(7, 58, 49, .06);
  padding: 34px 34px 32px;
}
.flow-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--gold-soft);
}
.flow-kicker {
  margin-bottom: 9px;
  color: #9d742f;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.flow-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.flow-heading-row h2, .claim-box-head h2 {
  margin: 0;
  color: var(--emerald-deep);
  font-size: 28px;
  letter-spacing: -.04em;
}
.flow-heading-row p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}
.status-badge {
  flex: none;
  padding: 7px 10px;
  border: 1px solid rgba(185, 139, 67, .26);
  border-radius: 999px;
  background: rgba(245, 241, 231, .72);
  color: rgba(11, 73, 59, .62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.field-grid { display: grid; gap: 16px; }
.field-grid.two-col { grid-template-columns: 1fr 1fr; }
.field-grid.three-col { grid-template-columns: 1.2fr 1fr 1fr; }
.field { position: relative; margin-bottom: 18px; text-align: left; }
label {
  display: block;
  margin-bottom: 8px;
  color: rgba(11, 73, 59, .90);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .015em;
}
label span { color: rgba(11, 73, 59, .42); font-weight: 500; }
input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(11, 73, 59, .16);
  border-radius: 8px;
  background: #fffefb;
  color: var(--emerald-deep);
  outline: 0;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder { color: rgba(11, 73, 59, .28); }
input:focus {
  border-color: rgba(11, 73, 59, .46);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 73, 59, .055);
}
.input-suffix { position: relative; }
.input-suffix input { padding-right: 48px; }
.input-suffix span {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  font-size: 12px;
}
.autocomplete-menu {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: 76px;
  max-height: 220px;
  overflow: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 58, 49, .12);
}
.autocomplete-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--emerald);
  text-align: left;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}
.autocomplete-item:hover { background: var(--ivory); }
.match-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -5px 0 18px;
  color: var(--ink-soft);
  font-size: 11px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(185, 139, 67, .12);
}
.journey-list { display: grid; gap: 10px; }
.journey-card {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid rgba(11, 73, 59, .13);
  border-radius: 10px;
  background: #fffefb;
  color: var(--emerald);
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.journey-card:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 73, 59, .28);
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 58, 49, .06);
}
.journey-time {
  min-width: 58px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 18px;
  color: var(--emerald-deep);
}
.journey-main { font-size: 12px; font-weight: 600; }
.journey-sub { margin-top: 4px; color: var(--ink-soft); font-size: 10px; font-weight: 400; }
.delay-badge {
  padding: 7px 9px;
  border-radius: 999px;
  background: #e8f2ed;
  color: var(--emerald-2);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.delay-badge.late { background: #fff4d9; color: #8c6507; }
.delay-badge.major { background: #fff0eb; color: #9f3a30; }
.selected-trip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 19px;
  margin-bottom: 23px;
  background: rgba(245, 241, 231, .72);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.selected-trip strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--emerald-deep);
}
.selected-trip p { margin: 7px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.dbmark {
  align-self: flex-start;
  white-space: nowrap;
  color: #9d742f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.privacy-note, .legal-note {
  margin: -4px 0 18px;
  color: rgba(11, 73, 59, .45);
  font-size: 10px;
  line-height: 1.6;
  text-align: left;
}
.result-card::before { background: var(--gold); }
.result-summary {
  position: relative;
  padding: 26px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--emerald-deep);
  border: 1px solid var(--emerald-deep);
  color: #fffdf8;
  text-align: left;
}
.result-kicker {
  color: var(--gold-soft);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
}
.result-amount {
  margin: 8px 0 7px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(40px, 7vw, 60px);
  letter-spacing: -.06em;
}
.result-detail { color: rgba(255, 253, 248, .76); font-size: 12px; line-height: 1.6; }
.result-rule { margin-top: 12px; color: rgba(255, 253, 248, .48); font-size: 9px; line-height: 1.55; }
.claim-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fffefb;
}
.claim-box-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 231, .46);
}
.claim-box-head h2 { font-size: 19px; }
.claim-box pre {
  white-space: pre-wrap;
  margin: 0;
  padding: 22px;
  color: #244f43;
  font: 12px/1.7 "IBM Plex Sans", sans-serif;
  max-height: 440px;
  overflow: auto;
}
.secondary-button {
  border: 1px solid rgba(11, 73, 59, .17);
  border-radius: 8px;
  background: #fffefb;
  color: var(--emerald);
  min-height: 42px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.secondary-button:hover { border-color: rgba(11, 73, 59, .34); background: var(--ivory); transform: translateY(-1px); }
.secondary-button.full { width: 100%; }
.result-actions { display: grid; gap: 10px; margin-top: 16px; }
.link-button { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.legal-note { margin: 16px 0 0; }

.how-section {
  width: min(980px, calc(100% - 40px));
  margin: 104px auto 62px;
  padding: 48px 48px 44px;
  border-radius: 20px;
  background: var(--emerald-deep);
  color: #fffdf8;
  box-shadow: 0 26px 70px rgba(7, 58, 49, .12);
}
.how-section .flow-kicker { color: var(--gold-soft); }
.section-intro { max-width: 570px; margin-bottom: 31px; }
.section-intro h2 {
  margin: 0;
  color: #fffdf8;
  font-size: 35px;
  letter-spacing: -.045em;
  line-height: 1.2;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 253, 248, .16);
}
.how-grid article { padding: 27px 24px 4px 0; }
.how-grid article + article {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 253, 248, .13);
}
.how-grid span { color: var(--gold-soft); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.how-grid h3 { margin: 15px 0 8px; color: #fffdf8; font-size: 16px; }
.how-grid p { margin: 0; color: rgba(255, 253, 248, .62); font-size: 11px; line-height: 1.7; }

footer {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 2px 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(11, 73, 59, .43);
  font-size: 10px;
  letter-spacing: .01em;
}

@media (max-width: 720px) {
  body::before { height: 2px; }
  .topbar { width: calc(100% - 28px); height: 72px; }
  .brand { font-size: 21px; }
  .nav-links { gap: 12px; }
  .nav-links a { display: none; }
  .nav-pill { padding: 7px 11px; font-size: 9px; }
  .hero { min-height: auto; }
  .hero::before { top: 31px; height: 25px; }
  .hero-inner { width: calc(100% - 24px); padding: 84px 0 34px; }
  .hero-inner::before { margin-bottom: 17px; font-size: 8px; letter-spacing: .15em; }
  h1 { font-size: clamp(42px, 12.7vw, 58px); line-height: 1.04; }
  .hero-copy { max-width: 500px; margin-top: 22px; font-size: 14px; line-height: 1.7; }
  .upload-card { margin-top: 31px; padding: 32px 20px 29px; border-radius: 15px; }
  .upload-card::after { inset: 7px; border-radius: 10px; }
  .file-icon { width: 56px; height: 56px; border-radius: 16px; }
  .upload-card .primary-cta { max-width: none; }
  .reassurance { margin-top: 20px; font-size: 10px; }
  .rights-box { margin-top: 38px; }
  .flow-section { width: calc(100% - 20px); }
  .flow-card { padding: 25px 19px 23px; border-radius: 13px; }
  .flow-heading-row { flex-direction: column; gap: 11px; margin-bottom: 24px; }
  .flow-heading-row h2 { font-size: 24px; }
  .field-grid.two-col, .field-grid.three-col { grid-template-columns: 1fr; gap: 0; }
  .selected-trip { flex-direction: column; }
  .journey-card { grid-template-columns: auto 1fr; padding: 15px; }
  .journey-card .delay-badge { grid-column: 2; justify-self: start; }
  .result-summary { padding: 22px; }
  .claim-box-head { align-items: flex-start; }
  .how-section { width: calc(100% - 20px); margin: 76px auto 36px; padding: 34px 22px 27px; border-radius: 15px; }
  .section-intro h2 { font-size: 29px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { padding: 22px 0; }
  .how-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 253, 248, .13); }
  footer { width: calc(100% - 28px); flex-direction: column; gap: 8px; }
}
