/* liveVAT presentation site. Colours and type follow the apps: paper background, forest greens,
   serif amounts as in the mobile hero. No web fonts, so nothing is requested from third parties. */
:root {
  color-scheme: light;
  --paper: #f4f4ed;
  --paper-deep: #e9eadf;
  --sheet: #fffffb;
  --ink: #1c302b;
  --body: #34483f;
  --muted: #55675f;
  --rule: #d4dcd4;
  --rule-strong: #b7c4b9;
  --forest: #16493d;
  --forest-deep: #1d3b32;
  --accent: #155746;
  --accent-hover: #0f4537;
  --leaf: #d5eab3;
  --leaf-soft: #eaf3dc;
  --leaf-ink: #124638;
  --mist: #dceadd;
  --amber: #744604;
  --amber-soft: #fff0d7;
  --focus: #729238;
  --serif: Georgia, "Noto Serif", "Droid Serif", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 1.0625rem/1.6 var(--sans);
}
@media (min-width: 760px) {
  body {
    font-size: 1.125rem;
  }
}
h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}
h3 {
  color: var(--ink);
  text-wrap: balance;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--accent-hover);
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.skip:focus {
  top: 12px;
  color: #fff;
}
.wrap {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}
.amount,
.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
}
/* brand/logo.svg, copied here by brand/build.py */
.brand img {
  display: block;
  width: auto;
  height: 2rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  font: 650 1rem/1.2 var(--sans);
  text-decoration: none;
}
.button-primary {
  background: var(--accent);
  color: #fff;
}
.button-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.button-quiet {
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--rule-strong);
}
.button-quiet:hover {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.button-small {
  min-height: 42px;
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
}

/* Header */
.masthead {
  padding-block: 18px;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.masthead nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0;
  list-style: none;
}
.masthead nav a:not(.button) {
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
}
.masthead nav a:not(.button):hover {
  text-decoration: underline;
}
@media (max-width: 759px) {
  .masthead .nav-section {
    display: none;
  }
}

/* Hero */
.hero {
  padding-block: 28px 48px;
}
.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  max-width: 12.5em;
  font-size: clamp(2.35rem, 6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.lede {
  max-width: 31em;
  margin-top: 1.4rem;
  font-size: 1.12em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}
.fine {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (min-width: 960px) {
  .hero {
    padding-block: 48px 64px;
  }
  .hero .wrap {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 72px;
  }
}

/* The owner's page, as in the app's «Ο ΦΠΑ μου»: how the amount comes about, with one invoice arriving. */
.ledger {
  position: relative;
  margin-right: 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--sheet);
  box-shadow:
    7px 7px 0 -1px var(--paper),
    7px 7px 0 0 var(--rule-strong),
    14px 14px 0 -1px var(--paper),
    14px 14px 0 0 var(--rule);
}
.ledger-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 18px 22px 14px;
  border-bottom: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.9375rem;
}
.ledger-head strong {
  color: var(--ink);
  font-weight: 650;
}
.ledger-head .pill {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: var(--leaf-ink);
  font-size: 0.8125rem;
  font-weight: 650;
}
.ledger table {
  width: 100%;
  border-collapse: collapse;
}
.ledger td,
.ledger th {
  padding: 13px 12px 13px 22px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: baseline;
}
.ledger th {
  color: var(--ink);
  font-weight: 450;
}
.ledger tbody tr:last-child > * {
  border-bottom: 0;
}
.ledger td.amount {
  padding-right: 22px;
  padding-left: 12px;
  white-space: nowrap;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12em;
  text-align: right;
}
.ledger-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 16px;
  margin: 0 22px;
  padding: 16px 0 18px;
  border-top: 3px double var(--ink);
}
.ledger-total p:first-child {
  color: var(--ink);
  font-weight: 650;
}
.ledger-total .amount {
  color: var(--forest);
  font: 400 clamp(2.4rem, 7vw, 3.1rem)/1 var(--serif);
  letter-spacing: -0.02em;
}
.ledger-deadline {
  margin: -6px 22px 14px;
  color: var(--muted);
  font-size: 0.875rem;
}
.arrival {
  display: flex;
  gap: 12px;
  margin: 0 12px 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--leaf-soft);
  color: var(--leaf-ink);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.arrival::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--accent);
}
.arrival strong {
  font-weight: 650;
}
.arrival-meta {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.ledger figcaption {
  padding: 0 22px 16px;
  color: var(--muted);
  font-size: 0.8125rem;
}
@media (max-width: 479px) {
  .ledger-head {
    padding: 16px 16px 12px;
  }
  .ledger td,
  .ledger th {
    padding: 12px 10px 12px 16px;
  }
  .ledger td.amount {
    padding-right: 16px;
  }
  .ledger-total {
    margin: 0 16px;
  }
  .ledger-deadline {
    margin-inline: 16px;
  }
  .ledger figcaption {
    padding: 0 16px 14px;
  }
  .specimen {
    padding: 18px 16px;
  }
}
.swap {
  display: inline-grid;
  justify-items: end;
}
.swap > span {
  grid-area: 1 / 1;
}
.swap .was {
  visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .swap .was {
    visibility: visible;
    animation: ledger-out 0.45s ease 1.9s both;
  }
  .swap .now {
    animation: ledger-in 0.5s ease 1.95s both;
  }
  .ledger .is-updated > * {
    animation: ledger-mark 1.8s ease 1.9s both;
  }
  .arrival {
    animation: ledger-arrive 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 1s both;
  }
}
@keyframes ledger-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes ledger-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-0.45em);
  }
}
@keyframes ledger-in {
  from {
    opacity: 0;
    transform: translateY(0.45em);
  }
}
@keyframes ledger-mark {
  15% {
    background: var(--leaf-soft);
  }
}

/* Sections */
.section {
  padding-block: 56px;
}
.section h2 {
  max-width: 17em;
  font-size: clamp(1.95rem, 3.8vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-intro {
  max-width: 34em;
  margin-top: 1rem;
}
@media (min-width: 960px) {
  .section {
    padding-block: 88px;
  }
}

/* How it works: a real sequence, so it is numbered. */
.steps {
  display: grid;
  gap: 36px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font: 400 3.2rem/1 var(--serif);
}
.steps h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

/* Features */
.features {
  margin-top: 40px;
}
.feature {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: 44px;
  border-top: 1px solid var(--rule);
}
.feature h3,
.together h3 {
  font: 400 clamp(1.6rem, 2.7vw, 2.1rem)/1.15 var(--serif);
}
.feature-text p {
  max-width: 30em;
  margin-top: 1rem;
}
@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
  }
  .feature:nth-child(even) .feature-text {
    order: 2;
  }
}
.specimen {
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--sheet);
  font-size: 0.9375rem;
}
.specimen-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}
.codes {
  width: 100%;
  border-collapse: collapse;
}
.codes th,
.codes td {
  padding: 11px 0;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: baseline;
}
.codes th {
  padding-right: 12px;
  color: var(--ink);
  font-weight: 450;
}
.codes th .code {
  display: inline-block;
  min-width: 2.6rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.codes td {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  text-align: right;
}
.codes td small {
  display: block;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.8125rem;
}
.jar-target {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.jar-target .amount {
  color: var(--ink);
  font: 400 2.2rem/1.1 var(--serif);
}
.label {
  color: var(--muted);
  font-size: 0.875rem;
}
.track {
  height: 12px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper-deep);
}
.track span {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}
.metrics {
  margin-top: 14px;
}
.metrics div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
  border-top: 1px solid var(--rule);
}
.metrics dt {
  color: var(--body);
}
.metrics dd {
  color: var(--ink);
  font-weight: 600;
}
.metrics .highlight dd {
  color: var(--amber);
}
.notification {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #e8ebe4;
  color: var(--ink);
}
.notification .app-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--forest-deep);
  color: var(--leaf);
}
.notification .app-icon svg {
  width: 22px;
  height: 22px;
}
.notification p:first-of-type {
  display: flex;
  justify-content: space-between;
  font-weight: 650;
}
.notification p:first-of-type span {
  color: var(--muted);
  font-weight: 400;
}
.event {
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.event .figure {
  color: var(--ink);
  font: 400 1.5rem/1.25 var(--serif);
}
.together {
  display: grid;
  gap: 28px;
  padding-top: 44px;
  border-top: 1px solid var(--rule);
}
.together ul,
.terms-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.together ul {
  margin-top: 1.2rem;
}
.together li,
.terms-list li {
  padding-left: 1.4rem;
  background: linear-gradient(var(--accent), var(--accent)) 0 0.72em / 0.7rem 2px no-repeat;
}
@media (min-width: 900px) {
  .together {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
  }
}

/* Security band */
.band {
  background: var(--forest);
  color: var(--mist);
}
.band h2 {
  color: #fff;
}
.band a {
  color: #fff;
}
.facts {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}
.facts dt {
  margin-bottom: 0.5rem;
  color: var(--leaf);
  font-weight: 650;
}
.facts dd {
  max-width: 30em;
}
@media (min-width: 860px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 80px;
  }
}

/* Pricing */
.plans {
  display: grid;
  margin-top: 44px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--sheet);
}
.plan {
  padding: 26px 26px 28px;
}
.plan + .plan {
  border-top: 1px solid var(--rule);
}
.plan h3 {
  font-size: 1.05rem;
}
.plan .price {
  margin-top: 10px;
  color: var(--ink);
  font: 400 clamp(2.8rem, 7vw, 3.6rem)/1 var(--serif);
  letter-spacing: -0.02em;
}
.plan .per {
  margin-top: 8px;
  color: var(--muted);
}
@media (min-width: 700px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan + .plan {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}
.terms-list {
  max-width: 40em;
  margin-top: 28px;
}
.pricing-cta {
  margin-top: 32px;
}

/* FAQ */
.faq {
  max-width: 50em;
  margin-top: 40px;
  border-bottom: 1px solid var(--rule);
}
.faq details {
  border-top: 1px solid var(--rule);
}
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font: 400 1.6rem/1 var(--serif);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 40em;
  padding-bottom: 22px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .faq summary::after {
    transition: none;
  }
}

/* Closing call to action */
.closing {
  padding-block: 88px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.closing h2 {
  max-width: 15em;
  margin-inline: auto;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.1;
}
.closing .actions {
  justify-content: center;
}
.closing .stores ul {
  justify-content: center;
}

/* App badges: Android links to our download page, iPhone to the Home Screen steps until the App Store. */
.stores {
  margin-top: 1.8rem;
}
.stores-title {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 650;
}
.stores ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.7rem;
  padding: 0;
  list-style: none;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 11.5rem;
  min-height: 54px;
  padding: 8px 18px 8px 14px;
  border-radius: 10px;
  background: var(--forest-deep);
  color: #fff;
  line-height: 1.15;
}
.store svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--leaf);
}
.store small {
  display: block;
  color: var(--mist);
  font-size: 0.75rem;
}
.store strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 650;
}
a.store {
  text-decoration: none;
}
a.store:hover {
  background: var(--forest);
}
.download {
  margin-top: 0.9rem;
}

/* Footer */
.footer {
  padding-block: 56px 40px;
  background: var(--paper-deep);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
.footer h2 {
  margin-bottom: 0.6rem;
  color: var(--ink);
  font: 650 0.9375rem/1.3 var(--sans);
}
.footer ul {
  display: grid;
  gap: 6px;
  padding: 0;
  list-style: none;
}
.footer a {
  color: var(--body);
}
.legal {
  display: grid;
  gap: 10px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-strong);
  color: var(--muted);
  font-size: 0.875rem;
}
.legal p {
  max-width: 60em;
}
.todo {
  padding: 1px 6px;
  border: 1.5px dashed var(--amber);
  border-radius: 5px;
  background: var(--amber-soft);
  color: var(--amber);
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  }
}

/* Text pages: support, privacy, terms */
.page {
  padding-block: 40px 96px;
}
.page .wrap {
  max-width: 760px;
}
.page h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
}
.page .updated {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.page h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.45rem, 2.6vw, 1.75rem);
  line-height: 1.2;
}
.page h3 {
  margin-top: 1.6rem;
  font-size: 1.05rem;
}
.page p,
.page ul,
.page ol {
  margin-top: 0.9rem;
}
.page li + li {
  margin-top: 0.4rem;
}
.draft {
  margin-top: 1.6rem;
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  border-radius: 4px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 0.9375rem;
}
.contact-card {
  margin-top: 1.4rem;
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--sheet);
}
.contact-card a {
  font-size: 1.2rem;
  font-weight: 650;
}
.page table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.page th,
.page td {
  padding: 10px 12px 10px 0;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.page th {
  color: var(--ink);
  font-weight: 650;
}
@media (max-width: 599px) {
  /* Three columns do not fit a phone: each row becomes a short block. */
  .page table,
  .page tbody,
  .page tr,
  .page th,
  .page td {
    display: block;
  }
  .page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .page tbody tr {
    padding: 12px 0;
    border-top: 1px solid var(--rule);
  }
  .page th,
  .page td {
    padding: 0;
    border: 0;
  }
  .page td + td {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.875rem;
  }
}
